Skip to content
Snippets Groups Projects
Commit 80093662 authored by Nolan Lawson's avatar Nolan Lawson Committed by Eugen Rochko
Browse files

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

parent bd713271
No related branches found
No related tags found
No related merge requests found
...@@ -12,22 +12,8 @@ module.exports = merge(sharedConfig, { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment