Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239.

This commit is contained in:
Michał Gołębiowski 2013-04-10 20:46:31 +02:00
parent c0088f2d26
commit 8576e24bfe

View File

@ -115,6 +115,10 @@ module.exports = function( grunt ) {
sourceMap: "dist/jquery.min.map", sourceMap: "dist/jquery.min.map",
beautify: { beautify: {
ascii_only: true ascii_only: true
},
mangle: {
// saves some bytes when gzipped
except: [ "undefined" ]
} }
} }
} }