Commit 3ca883f8 authored by Timo Tijhof's avatar Timo Tijhof Committed by Richard Gibson

No ticket: Clean up uglifyjs compress options. Close gh-1382.

(cherry picked from commit e1562702)
parent 24e58792
...@@ -113,10 +113,17 @@ module.exports = function( grunt ) { ...@@ -113,10 +113,17 @@ module.exports = function( grunt ) {
ascii_only: true ascii_only: true
}, },
compress: { compress: {
hoist_funs: false, properties: true,
join_vars: false, dead_code: true,
unsafe: false,
booleans: true,
loops: false, loops: false,
unused: false unused: false,
hoist_funs: false,
hoist_vars: false,
if_return: true,
join_vars: true,
warnings: true
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment