We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c1ec47 commit 115262aCopy full SHA for 115262a
webpack.config.base.js
@@ -19,6 +19,6 @@ module.exports = dir => ({
19
devtool: 'inline-source-map',
20
mode: IS_DEV ? 'development' : 'production',
21
optimization: {
22
- minimizer: !IS_DEV ? [new TerserPlugin()] : null,
+ minimizer: !IS_DEV ? [new TerserPlugin()] : [],
23
},
24
});
0 commit comments