From c13a24a107af9116fb6c1261ab9853d657f3bbeb Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Fri, 3 Jun 2016 11:17:07 +0200 Subject: [PATCH] Add dedupe webpack plugin for production builds --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 713b319a..7478ab8b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -82,6 +82,7 @@ const PLUGINS = [ ]; const PROD_PLUGINS = [ + new webpack.optimize.DedupePlugin(), new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false