source-map-loader
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -57,5 +57,6 @@ /* | ||
if(!map.sourcesContent || map.sourcesContent.length < map.sources.length) { | ||
var sourcePrefix = map.sourceRoot ? map.sourceRoot + "/" : ""; | ||
var missingSources = map.sourcesContent ? map.sources.slice(map.sourcesContent.length) : map.sources; | ||
async.map(missingSources, function(source, callback) { | ||
resolve(context, loaderUtils.urlToRequest(source), function(err, result) { | ||
resolve(context, loaderUtils.urlToRequest(sourcePrefix + source), function(err, result) { | ||
if(err) { | ||
@@ -62,0 +63,0 @@ emitWarning("Cannot find source file '" + source + "': " + err); |
{ | ||
"name": "source-map-loader", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"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
9756
242