Skip to content

fix(plugin-react): check reactCompiler rspack version#7940

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-react-compiler-version-check
Jun 18, 2026
Merged

fix(plugin-react): check reactCompiler rspack version#7940
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-react-compiler-version-check

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

This PR makes the reactCompiler option fail earlier with a readable plugin-level error when the resolved Rspack version does not support jsc.transform.reactCompiler.

It checks the active @rspack/core version only when reactCompiler is configured and requires Rspack 2.1.0 or later.

Related Links

#7938

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chenjiahan chenjiahan merged commit 016e642 into main Jun 18, 2026
7 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/fix-react-compiler-version-check branch June 18, 2026 14:28
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.

1 participant