mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239.
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user