aboutsummaryrefslogtreecommitdiff
path: root/examples/helloworld/webpack.config.d/minify.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld/webpack.config.d/minify.js')
-rw-r--r--examples/helloworld/webpack.config.d/minify.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/helloworld/webpack.config.d/minify.js b/examples/helloworld/webpack.config.d/minify.js
new file mode 100644
index 00000000..34e706c9
--- /dev/null
+++ b/examples/helloworld/webpack.config.d/minify.js
@@ -0,0 +1,4 @@
+if (defined.PRODUCTION) {
+ config.plugins.push(new webpack.optimize.UglifyJsPlugin({
+ }));
+}