From 09684ba3f210594e41ecddf369ac94c688d53ccb Mon Sep 17 00:00:00 2001 From: Oleg Gaydarenko Date: Fri, 2 Mar 2018 20:21:33 +0300 Subject: [PATCH] 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 --- Gruntfile.js | 2 +- package.json | 2 +- 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", -- 2.39.5