fix(sourcemaps): allow for rewriting sourceMappingURL in compressed output style

This commit is contained in:
Brent Dearth 2014-10-02 14:38:51 -04:00
parent 7c1c810fe8
commit e49130a48e

View file

@ -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);
}