aboutsummaryrefslogtreecommitdiff
path: root/examples/showcase/webpack.config.d/minify.js
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-01-29 21:03:34 +0100
committerRobert Jaros <rjaros@finn.pl>2018-01-29 21:03:34 +0100
commit2c7ca3f8808935fc0c56458dca54f7bf417141f7 (patch)
tree68d02115d3cc0467f825560f2b65a9591e5d78bc /examples/showcase/webpack.config.d/minify.js
parentb43764a2088912162ed5e8df2f6da7d2598fb1a3 (diff)
downloadkvision-2c7ca3f8808935fc0c56458dca54f7bf417141f7.tar.gz
kvision-2c7ca3f8808935fc0c56458dca54f7bf417141f7.tar.bz2
kvision-2c7ca3f8808935fc0c56458dca54f7bf417141f7.zip
Showcase example
Diffstat (limited to 'examples/showcase/webpack.config.d/minify.js')
-rw-r--r--examples/showcase/webpack.config.d/minify.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/showcase/webpack.config.d/minify.js b/examples/showcase/webpack.config.d/minify.js
new file mode 100644
index 00000000..34e706c9
--- /dev/null
+++ b/examples/showcase/webpack.config.d/minify.js
@@ -0,0 +1,4 @@
+if (defined.PRODUCTION) {
+ config.plugins.push(new webpack.optimize.UglifyJsPlugin({
+ }));
+}