mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Grunt: generate source maps when compressing
This commit is contained in:
parent
b7eec5d60a
commit
6e074188d4
@ -79,7 +79,10 @@ module.exports = function(grunt) {
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
preserveComments: "some"
|
||||
preserveComments: "some",
|
||||
sourceMap: function (filename) {
|
||||
return filename.replace(/\.js$/, '.js.map');
|
||||
}
|
||||
},
|
||||
openseadragon: {
|
||||
src: [ distribution ],
|
||||
|
@ -7,7 +7,7 @@
|
||||
"grunt-contrib-compress": "~0.5.0",
|
||||
"grunt-contrib-concat": "~0.1.2",
|
||||
"grunt-contrib-jshint": "~0.1.1",
|
||||
"grunt-contrib-uglify": "~0.1.1",
|
||||
"grunt-contrib-uglify": "~0.2.0",
|
||||
"grunt-contrib-qunit": "~0.2.0",
|
||||
"grunt-contrib-connect": "~0.1.2",
|
||||
"grunt-contrib-watch": "~0.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user