From 80093662312995f981dca8519e4be92c1cad6f8b Mon Sep 17 00:00:00 2001
From: Nolan Lawson <nolan@nolanlawson.com>
Date: Sat, 6 May 2017 12:24:59 -0700
Subject: [PATCH] switch uglify to compress:true,mangle:true (#2852)

---
 config/webpack/production.js | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/config/webpack/production.js b/config/webpack/production.js
index 2e4baa4241..494ccf7efc 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -12,22 +12,8 @@ module.exports = merge(sharedConfig, {
 
   plugins: [
     new webpack.optimize.UglifyJsPlugin({
-      compress: {
-        unused: true,
-        evaluate: true,
-        booleans: true,
-        drop_debugger: true,
-        dead_code: true,
-        pure_getters: true,
-        negate_iife: true,
-        conditionals: true,
-        loops: true,
-        cascade: true,
-        keep_fargs: false,
-        warnings: true
-      },
-
-      mangle: false,
+      compress: true,
+      mangle: true,
 
       output: {
         comments: false
-- 
GitLab