aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2013-09-24 16:23:58 +0200
committerRichard Gibson <richard.gibson@gmail.com>2013-10-15 16:49:47 -0400
commit3ca883f863f8c4b3b1153e63ef40a8c2c523d399 (patch)
tree77e851662d9a91a9b4ee1fba8668e4dabc2ec460 /Gruntfile.js
parent24e587929f62428e1959b10aace6dc4fd65ab397 (diff)
downloadjquery-3ca883f863f8c4b3b1153e63ef40a8c2c523d399.tar.gz
jquery-3ca883f863f8c4b3b1153e63ef40a8c2c523d399.zip
No ticket: Clean up uglifyjs compress options. Close gh-1382.
(cherry picked from commit e15627022f0c5e13a972baffb41f6f52ca4d3ec3)
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js13
1 files changed, 10 insertions, 3 deletions
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
}
}
}