logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 80093662312995f981dca8519e4be92c1cad6f8b
parent: bd71327180fb4a938f5d98bbb2f1d6a624116d66
Author: Nolan Lawson <nolan@nolanlawson.com>
Date:   Sat,  6 May 2017 12:24:59 -0700

switch uglify to compress:true,mangle:true (#2852)


Diffstat:

Mconfig/webpack/production.js18++----------------
1 file changed, 2 insertions(+), 16 deletions(-)

diff --git 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