diff --git a/Gruntfile.js b/Gruntfile.js index e678afc31..439ec6a79 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -113,10 +113,17 @@ module.exports = function( grunt ) { ascii_only: true }, compress: { - hoist_funs: false, - join_vars: false, + properties: true, + dead_code: true, + unsafe: false, + booleans: true, loops: false, - unused: false + unused: false, + hoist_funs: false, + hoist_vars: false, + if_return: true, + join_vars: true, + warnings: true } } }