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