diff --git a/Gruntfile.js b/Gruntfile.js index ff430a9a..d8f5364c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -82,7 +82,10 @@ module.exports = function(grunt) { preserveComments: "some", sourceMap: function (filename) { return filename.replace(/\.js$/, '.js.map'); - } + }, + sourceMappingURL: function (filename) { + return filename.replace(/\.js$/, '.js.map').replace('build/openseadragon/', ''); + }, }, openseadragon: { src: [ distribution ],