From aae7abfeb6e9810d67947825c3d1302bb36be6b7 Mon Sep 17 00:00:00 2001 From: Oleg Date: Thu, 18 Apr 2013 17:16:59 +0400 Subject: [PATCH] Change uglify compression options, close gh-1245. --- Gruntfile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 1b13c277d..98cde83e0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -116,6 +116,12 @@ module.exports = function( grunt ) { beautify: { ascii_only: true }, + compress: { + hoist_funs: false, + join_vars: false, + loops: false, + unused: false + }, mangle: { // saves some bytes when gzipped except: [ "undefined" ] -- 2.39.5