What kind of change does this PR introduce? (bugfix, feature, docs update, improvement)
bugfix
What is the current behavior? (You can also link to an open issue here)
461
What is the new behavior (if this is a feature change)?
The get-matched-rule-4 util will now load webpack/lib/RuleSet only from the nearest webpack installation, it will no longer look up the chain for additional webpack installations until it finds the RuleSet file.
This eliminates the issue raised in #461, where the wrong version of webpack is loaded in a scenario where multiple nested webpack installations exist.
What kind of change does this PR introduce? (bugfix, feature, docs update, improvement) bugfix
What is the current behavior? (You can also link to an open issue here)
461
What is the new behavior (if this is a feature change)? The
get-matched-rule-4
util will now loadwebpack/lib/RuleSet
only from the nearestwebpack
installation, it will no longer look up the chain for additionalwebpack
installations until it finds theRuleSet
file.This eliminates the issue raised in #461, where the wrong version of
webpack
is loaded in a scenario where multiple nestedwebpack
installations exist.Does this PR introduce a breaking change? No
Please check if the PR fulfills contributing guidelines