chore: update the Rslib React Compiler example to use SWC#477
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe React Compiler integration in 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Summary
This PR updates the
rslib/react-compilerexample to use the Rust-powered React Compiler provided by@rsbuild/plugin-reactinstead of the previous Babel-based setup.It removes
@rsbuild/plugin-babelandbabel-plugin-react-compiler, upgrades the example to@rsbuild/plugin-react@^2.1.0and@rslib/core@^0.23.1, and enables React Compiler throughpluginReact({ reactCompiler: true }).Validation
pnpm --filter "@rslib-example/react-compiler" build