Merge pull request #96 from booleanbetrayal/master

fix(sourcemaps): allow for rewriting sourceMappingURL in compressed output
This commit is contained in:
David Manning 2014-10-02 14:49:02 -07:00
commit 10b8436a3c

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