mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
correct the sourcemap url option
This commit is contained in:
@@ -175,7 +175,7 @@ args = args.filter(function (arg) {
|
||||
break;
|
||||
case 'source-map-url':
|
||||
if (checkArgFunc(arg, match[2])) {
|
||||
options.sourceMapUrl = match[2];
|
||||
options.sourceMapURL = match[2];
|
||||
}
|
||||
break;
|
||||
case 'rp':
|
||||
|
||||
@@ -96,10 +96,10 @@
|
||||
var sourceMapURL,
|
||||
sourceMapContent = JSON.stringify(this._sourceMapGenerator.toJSON());
|
||||
|
||||
if (this._sourceMapFilename) {
|
||||
sourceMapURL = this.normalizeFilename(this._sourceMapFilename);
|
||||
} else if (this._sourceMapURL) {
|
||||
if (this._sourceMapURL) {
|
||||
sourceMapURL = this._sourceMapURL;
|
||||
} else if (this._sourceMapFilename) {
|
||||
sourceMapURL = this.normalizeFilename(this._sourceMapFilename);
|
||||
}
|
||||
|
||||
if (this._writeSourceMap) {
|
||||
|
||||
Reference in New Issue
Block a user