ReviewOS

also looking at this

stacks/ts-tokens

chore(deps): update dependency @vitejs/plugin-react to 6.0.0

#1337
Closed github-actions[bot] wants to merge buddy-bot/update-major-update-vitejsplugin-react into main
2 files +5 -7
23 days ago

This PR contains the following updates:

npm

PackageChangeAgeAdoptionPassingConfidence
@vitejs/plugin-react (source)5.1.4 -> 6.0.0ageadoptionpassingconfidence

Release Notes

vitejs/vite-plugin-react (@vitejs/plugin-react)

5.1.4 -> 6.0.0

plugin-react@6.0.0

Compare Source

Vite 8+ can handle React Refresh Transform by Oxc and doesn't need Babel for it. With that, there are no transform applied that requires Babel. To reduce the installation size of this plugin, babel is no longer a dependency of this plugin and the related features are removed.

If you are using Babel, you can use @rolldown/plugin-babel together with this plugin:

 import { defineConfig } from 'vite'
 import react from '@vitejs/plugin-react'
+import babel from '@rolldown/plugin-babel'

 export default defineConfig({
   plugins: [
-     react({
-       babel: {
-         plugins: ['@babel/plugin-proposal-throw-expressions'],
-       },
-     }),
+     react(),
+     babel({
+       plugins: ['@babel/plugin-proposal-throw-expressions'],
+     }),
   ]
 })

For React compiler users, you can use reactCompilerPreset for easier setup with preconfigured filter to improve build performance:

 ...

*[View full release notes]*

*Released by [github-actions[bot]](https://github.com/github-actions[bot]) on 3/12/2026*

### [`plugin-react@5.2.0`](https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%405.2.0)

[Compare Source](https://github.com/vitejs/vite-plugin-react/compare/v5.1.4...v6.0.0)

### Add Vite 8 to peerDependencies range [`#1143`](`vitejs/vite-plugin-react#1143`)

This plugin is compatible with Vite 8.

*Released by [github-actions[bot]](https://github.com/github-actions[bot]) on 3/12/2026*

### [`plugin-react-swc@4.3.0`](https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react-swc%404.3.0)

[Compare Source](https://github.com/vitejs/vite-plugin-react/compare/v5.1.4...v6.0.0)

### Add Vite 8 to peerDependencies range [`#1142`](`vitejs/vite-plugin-react#1142`)

This plugin is compatible with Vite 8.

*Released by [github-actions[bot]](https://github.com/github-actions[bot]) on 3/12/2026*

</details>

---

### �� Package Statistics

- **@vitejs/plugin-react**: 25,494,331 weekly downloads

---

### Configuration

�� **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

�� **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

�� **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Buddy](https://github.com/stacksjs/buddy-bot) ��

2 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.