diff options
Diffstat (limited to 'webpack.config.d/minify.js')
-rw-r--r-- | webpack.config.d/minify.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webpack.config.d/minify.js b/webpack.config.d/minify.js new file mode 100644 index 00000000..3bc8e884 --- /dev/null +++ b/webpack.config.d/minify.js @@ -0,0 +1,5 @@ +if (defined.PRODUCTION) { + config.plugins.push(new webpack.optimize.UglifyJsPlugin({ + minimize: true + })); +} |