Normalize path for sourceMappingURL.

This commit is contained in:
Anders Johansson
2013-09-11 13:48:50 +02:00
parent 5ef2ff1707
commit bab31952ff

View File

@@ -80,11 +80,11 @@
this._writeSourceMap(JSON.stringify(this._sourceMapGenerator.toJSON()));
if (this._sourceMapFilename) {
this._css.push("/*# sourceMappingURL=" + this._sourceMapRootpath + this._sourceMapFilename + " */");
this._css.push("/*# sourceMappingURL=" + this.normalizeFilename(this._sourceMapFilename) + " */");
}
}
return this._css.join('');
};
})(require('./tree'));
})(require('./tree'));