Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(utils): force get-matched-rule-4 to use nearest webpack installation #463

Merged
merged 1 commit into from Jun 23, 2021

Conversation

protango
Copy link
Contributor

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.

Does this PR introduce a breaking change?
No

Please check if the PR fulfills contributing guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants