enhanced-resolve
Advanced tools
Comparing version 0.5.12 to 0.5.13
@@ -19,3 +19,3 @@ /* | ||
var aliasName = keys[i]; | ||
if(request.request.indexOf(aliasName) === 0) { | ||
if(request.request.indexOf(aliasName + "/") === 0 || request.request === aliasName) { | ||
var aliasValue = aliasMap[aliasName]; | ||
@@ -35,3 +35,3 @@ if(request.request.indexOf(aliasValue + "/") !== 0 && request.request != aliasValue) { | ||
}.bind(this); | ||
if(request.request != aliasName) { | ||
if(request.request !== aliasName) { | ||
// Check if aliasValue resolves to a file. | ||
@@ -38,0 +38,0 @@ // If it do so, we do not alias the module as the user |
{ | ||
"name": "enhanced-resolve", | ||
"version": "0.5.12", | ||
"version": "0.5.13", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Offers a async require.resolve function. It's highly configurable.", |
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
49041