gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/stable
Nolan Lawson 2017-05-06 12:24:59 -07:00 committed by Eugen Rochko
parent bd71327180
commit 8009366231
1 changed files with 2 additions and 16 deletions

View File

@ -12,22 +12,8 @@ module.exports = merge(sharedConfig, {
plugins: [ plugins: [
new webpack.optimize.UglifyJsPlugin({ new webpack.optimize.UglifyJsPlugin({
compress: { compress: true,
unused: true, mangle: 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,
output: { output: {
comments: false comments: false