]> source.dussan.org Git - jquery.git/commitdiff
Build: Seasonal update of uglify and its options
authorOleg Gaydarenko <markelog@gmail.com>
Fri, 2 Mar 2018 17:21:33 +0000 (20:21 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Mon, 5 Mar 2018 17:53:57 +0000 (20:53 +0300)
raw     gz Compared to last run
 =      = dist/jquery.js
-294    -88 dist/jquery.min.js

Closes gh-3994

Gruntfile.js
package.json

index 096370a4f2433bcea449e450207fc09e2ce6edf0..b9c0091a36a1307861b682f4eef7412c8b4d006e 100644 (file)
@@ -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
index e1f4598c74ae6d9401c30414e53cfbedfc630f92..3603d613e31d8c99c746ab4553d2bc276666b679 100644 (file)
@@ -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",