diff options
author | Robert Jaros <rjaros@finn.pl> | 2017-08-16 01:58:43 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2017-08-16 01:58:43 +0200 |
commit | e1523ed62e16b6ecfde1a1d6dd69599910c7085a (patch) | |
tree | 60dd83080664e8fae218d68e488eb708bf121da3 /webpack.config.d/minify.js | |
download | kvision-e1523ed62e16b6ecfde1a1d6dd69599910c7085a.tar.gz kvision-e1523ed62e16b6ecfde1a1d6dd69599910c7085a.tar.bz2 kvision-e1523ed62e16b6ecfde1a1d6dd69599910c7085a.zip |
Initial commit
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 + })); +} |