diff --git a/src/meta/minifier.js b/src/meta/minifier.js index 444851f62b..0024bbb9af 100644 --- a/src/meta/minifier.js +++ b/src/meta/minifier.js @@ -232,7 +232,7 @@ function minifyAndSave(data, callback) { var minified = uglify.minify(scripts, { sourceMap: { filename: data.filename, - url: String(data.filename).split(/[\/\\]/).pop() + '.map', + url: String(data.filename).split(/[/\\]/).pop() + '.map', includeSources: true, }, compress: false,