aboutsummaryrefslogtreecommitdiff
path: root/juick-server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-07 14:07:33 +0300
committerGravatar Vitaly Takmazov2018-11-07 14:07:33 +0300
commit915e31ad02e828fea35c58db3581d58b9ca0caf2 (patch)
tree24454175b70c162d3d8e15ec3222671c4a705a8d /juick-server
parent93408e7be7d74e89216485d941e790c28cd9d6de (diff)
www: fix webpack conditions
Diffstat (limited to 'juick-server')
-rw-r--r--juick-server/webpack.config.js2
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({