aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Gaydarenko <markelog@gmail.com>2018-03-02 20:21:33 +0300
committerOleg Gaidarenko <markelog@gmail.com>2018-03-05 20:53:57 +0300
commit09684ba3f210594e41ecddf369ac94c688d53ccb (patch)
treed4ef16950c58c4f9744cb344fa62f31d6d486e60
parent4a2bcc27f9c3ee24b3effac0fbe1285d1ee23cc5 (diff)
downloadjquery-09684ba3f210594e41ecddf369ac94c688d53ccb.tar.gz
jquery-09684ba3f210594e41ecddf369ac94c688d53ccb.zip
Build: Seasonal update of uglify and its options
raw gz Compared to last run = = dist/jquery.js -294 -88 dist/jquery.min.js Closes gh-3994
-rw-r--r--Gruntfile.js2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 096370a4f..b9c0091a3 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -259,9 +259,9 @@ module.exports = function( grunt ) {
banner: "/*! jQuery v<%= pkg.version %> | " +
"(c) JS Foundation and other contributors | jquery.org/license */",
compress: {
+ "pure_getters": true,
"hoist_funs": false,
loops: false,
- unused: false,
// Support: IE <11
// typeofs transformation is unsafe for IE9-10
diff --git a/package.json b/package.json
index e1f4598c7..3603d613e 100644
--- a/package.json
+++ b/package.json
@@ -63,7 +63,7 @@
"sizzle": "2.3.3",
"strip-json-comments": "2.0.1",
"testswarm": "1.1.0",
- "uglify-js": "3.3.4"
+ "uglify-js": "3.3.12"
},
"scripts": {
"build": "npm install && grunt",