Change uglify compression options, close gh-1245.

This commit is contained in:
Oleg 2013-04-18 17:16:59 +04:00 committed by Dave Methvin
parent 5179fa00b8
commit aae7abfeb6

View File

@ -116,6 +116,12 @@ module.exports = function( grunt ) {
beautify: { beautify: {
ascii_only: true ascii_only: true
}, },
compress: {
hoist_funs: false,
join_vars: false,
loops: false,
unused: false
},
mangle: { mangle: {
// saves some bytes when gzipped // saves some bytes when gzipped
except: [ "undefined" ] except: [ "undefined" ]