Match-id-0a5df1caf20a3855a1bc4052117f5835e113fd74

This commit is contained in:
* 2022-04-18 17:50:38 +08:00 committed by *
parent ed8d86f538
commit be5b864736
1 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
const path = require('path'); const path = require('path');
const webpack = require('webpack');
const config = { const config = {
entry: { entry: {
@ -45,6 +46,12 @@ const config = {
externals: { externals: {
'horizon': 'Horizon', 'horizon': 'Horizon',
}, },
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"development"',
isDev: 'false',
}),
],
}; };
module.exports = config; module.exports = config;