mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 05:08:03 +00:00
switch uglify to compress:true,mangle:true (#2852)
This commit is contained in:
parent
bd71327180
commit
8009366231
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue