From e49130a48ea105fb24db639bb7cdf12e6ad5bafd Mon Sep 17 00:00:00 2001 From: Brent Dearth Date: Thu, 2 Oct 2014 14:38:51 -0400 Subject: [PATCH] fix(sourcemaps): allow for rewriting sourceMappingURL in compressed output style --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4f8176c..e2ba1b1 100644 --- a/index.js +++ b/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); }