Merge pull request #831 from avandecreme/npm

Disable sequences and join_vars in uglify.
This commit is contained in:
Ian Gilman 2016-02-01 14:17:48 -08:00
commit a15b710e31

View File

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