From 8576e24bfe3fce886bcb63ebc24ee16b3fa1a6a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 10 Apr 2013 20:46:31 +0200 Subject: [PATCH] Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239. --- Gruntfile.js | 4 ++++ 1 file changed, 4 insertions(+) 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" ] } } } -- 2.39.5