diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-04-10 20:46:31 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2013-04-15 18:46:14 +0200 |
commit | 8576e24bfe3fce886bcb63ebc24ee16b3fa1a6a1 (patch) | |
tree | 739dc8adc768b5b9545f324afce7226318885237 | |
parent | c0088f2d26bba38dc04e9076a73579800e04347f (diff) | |
download | jquery-8576e24bfe3fce886bcb63ebc24ee16b3fa1a6a1.tar.gz jquery-8576e24bfe3fce886bcb63ebc24ee16b3fa1a6a1.zip |
Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239.
-rw-r--r-- | Gruntfile.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index e753a35cb..1b13c277d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -115,6 +115,10 @@ module.exports = function( grunt ) { sourceMap: "dist/jquery.min.map", beautify: { ascii_only: true + }, + mangle: { + // saves some bytes when gzipped + except: [ "undefined" ] } } } |