mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Merge pull request #831 from avandecreme/npm
Disable sequences and join_vars in uglify.
This commit is contained in:
commit
a15b710e31
@ -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
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user