feat: add flow edit
This commit is contained in:
@@ -48,11 +48,19 @@ module.exports = {
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
allowTsInNodeModules: true,
|
||||
transpileOnly: true, // 可选,加快构建速度
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
// 忽略特定警告
|
||||
ignoreWarnings: [
|
||||
{
|
||||
message: /Critical dependency: the request of a dependency is an expression/,
|
||||
},
|
||||
],
|
||||
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js'],
|
||||
alias: {
|
||||
@@ -60,9 +68,7 @@ module.exports = {
|
||||
hexoid: 'hexoid/dist/index.js',
|
||||
},
|
||||
},
|
||||
// externals: [
|
||||
// // nodeExternals(),
|
||||
// ],
|
||||
|
||||
externals: {
|
||||
sequelize: 'commonjs sequelize',
|
||||
'socket.io': 'commonjs socket.io',
|
||||
@@ -73,5 +79,8 @@ module.exports = {
|
||||
node: {},
|
||||
stats: {
|
||||
errorDetails: true,
|
||||
all: false,
|
||||
errors: true,
|
||||
warnings: true,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user