From e15627022f0c5e13a972baffb41f6f52ca4d3ec3 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 24 Sep 2013 16:23:58 +0200 Subject: [PATCH] No ticket: Clean up uglifyjs compress options. Close gh-1382. --- Gruntfile.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index e0a1ab42b..d8577d77c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -111,10 +111,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 } } } -- 2.39.5