From: Michał Gołębiowski Date: Wed, 10 Apr 2013 18:46:31 +0000 (+0200) Subject: Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239. X-Git-Tag: 2.0.0~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8576e24bfe3fce886bcb63ebc24ee16b3fa1a6a1;p=jquery.git Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239. --- 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" ] } } }