diff options
-rw-r--r-- | juick-server/webpack.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/webpack.config.js b/juick-server/webpack.config.js index a290621a..1b0a9a52 100644 --- a/juick-server/webpack.config.js +++ b/juick-server/webpack.config.js @@ -52,7 +52,7 @@ module.exports = (env, argv) => { new MiniCssExtractPlugin({ filename: 'style.css', allChunks: true }) ], }; - if (dev) { + if (!dev) { config.optimization = { minimizer: [ new UglifyJsPlugin({ |