PR #56 opened: chore(deps): bump @vitejs/plugin-react from 5.1.4 to 6.0.1
Bumps @vitejs/plugin-react from 5.1.4 to 6.0.1.
▶Release notes
Sourced from @vitejs/plugin-react's releases.
[email protected]
Expand
@rolldown/plugin-babelpeer dep range (#1146)Expanded
@rolldown/plugin-babelpeer dep range to include^0.2.0.[email protected]
Remove Babel Related Features (#1123)
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-babeltogether 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
reactCompilerPresetfor easier setup with preconfigured filter to improve build performance:import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import react, { reactCompilerPreset } from '@vitejs/plugin-react' +import babel from '@rolldown/plugin-babel'export default defineConfig({ plugins: [
- react({
babel: {plugins: ['babel-plugin-react-compiler'],},- }),
- react(),
- babel({
presets: [reactCompilerPreset()]
</tr></table>
... (truncated)
▶Changelog
Sourced from @vitejs/plugin-react's changelog.
6.0.1 (2026-03-13)
Expand
@rolldown/plugin-babelpeer dep range (#1146)Expanded
@rolldown/plugin-babelpeer dep range to include^0.2.0.6.0.0 (2026-03-12)
6.0.0-beta.0 (2026-03-03)
Remove Babel Related Features (#1123)
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-babeltogether 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
reactCompilerPresetfor easier setup with preconfigured filter to improve build performance:import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import react, { reactCompilerPreset } from '@vitejs/plugin-react' +import babel from '@rolldown/plugin-babel'export default defineConfig({ plugins: [
- react({
babel: {plugins: ['babel-plugin-react-compiler'],},
</tr></table>
... (truncated)
▶Commits
1e94c06release: [email protected]77c00c0feat(plugin-react): expand@rolldown/plugin-babelpeer dep range (#1146)dcc9012release: [email protected]3a17886docs: add a link to the Oxlint rule for component exports alongside the ESLin...f812135fix(deps): update all non-major dependencies (#1140)a0329a0docs(react): clarify react compiler preset filter (#1137)704e0d3release: [email protected]ac16accfeat(react)!: remove babel (#1123)f01b30cfix(deps): update all non-major dependencies (#1127)b1014bdchore(react): add changelog for #1124- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
▶Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)