Skip to content

Commit 10b8436

Browse files
committed
Merge pull request dlmanning#96 from booleanbetrayal/master
fix(sourcemaps): allow for rewriting sourceMappingURL in compressed output
2 parents 7c1c810 + e49130a commit 10b8436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = function (options) {
4848

4949
if (map) {
5050
// hack to remove the already added sourceMappingURL from libsass
51-
css = css.replace(/\n\/\*#\s*sourceMappingURL\=.*\*\//, '');
51+
css = css.replace(/\/\*#\s*sourceMappingURL\=.*\*\//, '');
5252

5353
applySourceMap(file, map);
5454
}

0 commit comments

Comments
 (0)