loader-utils
Advanced tools
Comparing version 0.2.12 to 0.2.13
@@ -244,5 +244,5 @@ var JSON5 = require("json5"); | ||
var re = new RegExp(regExp); | ||
var match = loaderContext.resourcePath.match(regExp); | ||
var match = loaderContext.resourcePath.match(re); | ||
if(match) { | ||
for (var i = 1; i < match.length; i++) { | ||
for (var i = 0; i < match.length; i++) { | ||
var re = new RegExp("\\[" + i + "\\]", "ig"); | ||
@@ -249,0 +249,0 @@ url = url.replace(re, match[i]); |
{ | ||
"name": "loader-utils", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "utils for webpack loaders", |
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
14949