fix(sourcemaps): allow for rewriting sourceMappingURL in compressed output style
This commit is contained in:
parent
7c1c810fe8
commit
e49130a48e
2
index.js
2
index.js
|
@ -48,7 +48,7 @@ module.exports = function (options) {
|
|||
|
||||
if (map) {
|
||||
// hack to remove the already added sourceMappingURL from libsass
|
||||
css = css.replace(/\n\/\*#\s*sourceMappingURL\=.*\*\//, '');
|
||||
css = css.replace(/\/\*#\s*sourceMappingURL\=.*\*\//, '');
|
||||
|
||||
applySourceMap(file, map);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue