source-map-loader
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -58,5 +58,7 @@ /* | ||
var sourcePrefix = map.sourceRoot ? map.sourceRoot + "/" : ""; | ||
map.sources = map.sources.map(function(s) { return sourcePrefix + s; }); | ||
map.sourceRoot = undefined; | ||
var missingSources = map.sourcesContent ? map.sources.slice(map.sourcesContent.length) : map.sources; | ||
async.map(missingSources, function(source, callback) { | ||
resolve(context, loaderUtils.urlToRequest(sourcePrefix + source), function(err, result) { | ||
resolve(context, loaderUtils.urlToRequest(source), function(err, result) { | ||
if(err) { | ||
@@ -63,0 +65,0 @@ emitWarning("Cannot find source file '" + source + "': " + err); |
{ | ||
"name": "source-map-loader", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "extracts inlined source map and offers it to webpack", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9850
244