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

(cherry picked from commit e15627022f)
This commit is contained in:
Timo Tijhof 2013-09-24 16:23:58 +02:00 committed by Richard Gibson
parent 24e587929f
commit 3ca883f863

View File

@ -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
} }
} }
} }