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

parent c0088f2d
......@@ -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" ]
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment