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: fix Rule.oneOf and Rule.rules #4254

Merged
merged 2 commits into from
Sep 26, 2023
Merged

fix: fix Rule.oneOf and Rule.rules #4254

merged 2 commits into from
Sep 26, 2023

Conversation

h-a-n-a
Copy link
Contributor

@h-a-n-a h-a-n-a commented Sep 26, 2023

Summary

  • Rule.oneOf should match at least one rule, otherwise the effects does not take affect.
  • Rule.rules should run ahead of Rule.oneOf

Fixes #4224

Test Plan

Added

Require Documentation?

  • No
  • Yes, the corresponding rspack-website PR is __

@github-actions github-actions bot added release: bug fix team The issue/pr is created by the member of Rspack. labels Sep 26, 2023
@h-a-n-a h-a-n-a enabled auto-merge September 26, 2023 11:19
9aoy
9aoy previously approved these changes Sep 26, 2023
@h-a-n-a h-a-n-a added this pull request to the merge queue Sep 26, 2023
Merged via the queue into main with commit a37e48d Sep 26, 2023
13 checks passed
@h-a-n-a h-a-n-a deleted the fix/rule-matching branch September 26, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'JavaScript parsing error' when not match rule in oneOf
3 participants