Conversation
- Removed `@swc/core` from `onlyBuiltDependencies` in `package.json`. - Updated `@vitejs/plugin-react-swc` to `@vitejs/plugin-react` version `5.1.1` in `apps/www/package.json`. - Adjusted `vitest.config.ts` to use the new `@vitejs/plugin-react` and updated Babel plugin configuration for styled-jsx. These changes streamline the build process and ensure compatibility with the latest plugin versions.
|
|
Deployment failed with the following error: Learn More: https://vercel.com/yamcodes?upgradeToPro=build-rate-limit |
WalkthroughMigration from SWC-based React/Vite plugin to Babel-based alternative with styled-jsx Babel integration. Updates devDependencies in apps/www by replacing Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧬 Code graph analysis (1)apps/www/vitest.config.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (2)
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 |
@swc/corefromonlyBuiltDependenciesinpackage.json.@vitejs/plugin-react-swcto@vitejs/plugin-reactversion5.1.1inapps/www/package.json.vitest.config.tsto use the new@vitejs/plugin-reactand updated Babel plugin configuration for styled-jsx.These changes streamline the build process and ensure compatibility with the latest plugin versions.
We are migrating away from vite-plugin-swc due to unstable compatibility issues, see similar: lingui/js-lingui#2141
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.