mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
Normalize path for sourceMappingURL.
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user