enhanced-resolve
Advanced tools
Comparing version 5.0.0-beta.2 to 5.0.0-beta.3
@@ -26,2 +26,3 @@ /* | ||
let resolution; | ||
let apiResolution; | ||
try { | ||
@@ -31,2 +32,7 @@ resolution = this.pnpApi.resolveToUnqualified(req, issuer, { | ||
}); | ||
if (resolveContext.fileDependencies) { | ||
apiResolution = this.pnpApi.resolveToUnqualified("pnpapi", issuer, { | ||
considerBuiltins: false | ||
}); | ||
} | ||
} catch (error) { | ||
@@ -38,2 +44,6 @@ return callback(error); | ||
if (apiResolution) { | ||
resolveContext.fileDependencies.add(apiResolution); | ||
} | ||
const obj = { | ||
@@ -40,0 +50,0 @@ ...request, |
{ | ||
"name": "enhanced-resolve", | ||
"version": "5.0.0-beta.2", | ||
"version": "5.0.0-beta.3", | ||
"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
78315
2523