Disable sequences and join_vars in uglify.

This commit is contained in:
Antoine Vandecreme 2016-01-31 11:44:53 -05:00
parent 3c8e79ded5
commit 4434361033

View File

@ -116,12 +116,15 @@ module.exports = function(grunt) {
options: {
preserveComments: false,
banner: banner,
compress: {
sequences: false,
join_vars: false
},
sourceMap: true,
sourceMapName: 'build/openseadragon/openseadragon.min.js.map',
sourceMapIn: 'build/openseadragon/openseadragon.js.map'
sourceMapName: 'build/openseadragon/openseadragon.min.js.map'
},
openseadragon: {
src: [ distribution ],
src: sources,
dest: minified
}
},