Only set uglify options if not already the default

This commit is contained in:
Timmy Willison 2013-10-15 17:59:58 -04:00
parent 3ca883f863
commit 209f0a8a8b

View File

@ -113,17 +113,9 @@ module.exports = function( grunt ) {
ascii_only: true ascii_only: true
}, },
compress: { compress: {
properties: true,
dead_code: true,
unsafe: false,
booleans: true,
loops: false,
unused: false,
hoist_funs: false, hoist_funs: false,
hoist_vars: false, loops: false,
if_return: true, unused: false
join_vars: true,
warnings: true
} }
} }
} }