aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 8e27b8a..31d838e 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -53,6 +53,9 @@ module.exports = {
}
]
},
+ optimization: {
+ minimize: process.env.NODE_ENV === "production"
+ },
plugins: [
new InjectScriptPlugin(),
new CopyPlugin({