mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239.
This commit is contained in:
parent
c0088f2d26
commit
8576e24bfe
@ -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" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user