From 8576e24bfe3fce886bcb63ebc24ee16b3fa1a6a1 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski Date: Wed, 10 Apr 2013 20:46:31 +0200 Subject: Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239. --- Gruntfile.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Gruntfile.js') 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" ] } } } -- cgit v1.2.3