enhanced-resolve
Advanced tools
Comparing version 4.2.0 to 4.3.0
@@ -31,2 +31,3 @@ /* | ||
const AppendPlugin = require("./AppendPlugin"); | ||
const RootPlugin = require("./RootPlugin"); | ||
const RestrictionsPlugin = require("./RestrictionsPlugin"); | ||
@@ -82,2 +83,5 @@ const ResultPlugin = require("./ResultPlugin"); | ||
// A list of root paths | ||
const roots = options.roots || []; | ||
const restrictions = options.restrictions || []; | ||
@@ -222,2 +226,5 @@ | ||
plugins.push(new ModuleKindPlugin("after-described-resolve", "raw-module")); | ||
roots.forEach(root => { | ||
plugins.push(new RootPlugin("after-described-resolve", root, "relative")); | ||
}); | ||
plugins.push(new JoinRequestPlugin("after-described-resolve", "relative")); | ||
@@ -224,0 +231,0 @@ |
{ | ||
"name": "enhanced-resolve", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"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
91787
44
3045