diff options
-rw-r--r-- | webpack.config.base.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.config.base.js b/webpack.config.base.js index 342c8c455..5f81713ce 100644 --- a/webpack.config.base.js +++ b/webpack.config.base.js | |||
@@ -19,6 +19,6 @@ module.exports = dir => ({ | |||
19 | devtool: 'inline-source-map', | 19 | devtool: 'inline-source-map', |
20 | mode: IS_DEV ? 'development' : 'production', | 20 | mode: IS_DEV ? 'development' : 'production', |
21 | optimization: { | 21 | optimization: { |
22 | minimizer: !IS_DEV ? [new TerserPlugin()] : null, | 22 | minimizer: !IS_DEV ? [new TerserPlugin()] : [], |
23 | }, | 23 | }, |
24 | }); | 24 | }); |