Skip to content

chore(deps-dev): bump @vitejs/plugin-react from 5.1.4 to 6.0.1#1944

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1
Open

chore(deps-dev): bump @vitejs/plugin-react from 5.1.4 to 6.0.1#1944
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 13, 2026

Bumps @vitejs/plugin-react from 5.1.4 to 6.0.1.

Release notes

Sourced from @​vitejs/plugin-react's releases.

plugin-react@6.0.1

Expand @rolldown/plugin-babel peer dep range (#1146)

Expanded @rolldown/plugin-babel peer dep range to include ^0.2.0.

plugin-react@6.0.0

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-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:

 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-babel peer dep range (#1146)

Expanded @rolldown/plugin-babel peer 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-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:

 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
  • 1e94c06 release: plugin-react@6.0.1
  • 77c00c0 feat(plugin-react): expand @rolldown/plugin-babel peer dep range (#1146)
  • dcc9012 release: plugin-react@6.0.0
  • 3a17886 docs: add a link to the Oxlint rule for component exports alongside the ESLin...
  • f812135 fix(deps): update all non-major dependencies (#1140)
  • a0329a0 docs(react): clarify react compiler preset filter (#1137)
  • 704e0d3 release: plugin-react@6.0.0-beta.0
  • ac16acc feat(react)!: remove babel (#1123)
  • f01b30c fix(deps): update all non-major dependencies (#1127)
  • b1014bd chore(react): add changelog for #1124
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 13, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 13, 2026 21:16
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 13, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 13, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1/8f596f8`

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@github-actions github-actions bot enabled auto-merge (squash) March 13, 2026 21:16
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 4b9bc5c to 0e2ba65 Compare March 13, 2026 21:19
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 0e2ba65 to 5e874be Compare March 13, 2026 21:22
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 5e874be to 0bb9ae6 Compare March 13, 2026 21:25
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 0bb9ae6 to 0b18934 Compare March 16, 2026 21:35
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 0b18934 to 0701392 Compare March 17, 2026 21:19
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 0701392 to 679b77e Compare March 17, 2026 21:22
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 679b77e to 80e6c0d Compare March 18, 2026 21:20
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 80e6c0d to 18059a6 Compare March 19, 2026 21:22
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 18059a6 to 258bae5 Compare March 20, 2026 21:19
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 258bae5 to b8e848a Compare March 20, 2026 21:22
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from b8e848a to fed2969 Compare March 23, 2026 21:23
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from fed2969 to 9c10548 Compare March 25, 2026 21:19
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 9c10548 to 6de8c4d Compare March 26, 2026 00:02
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 6de8c4d to 0fc06ff Compare March 26, 2026 21:19
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 0fc06ff to 9780826 Compare March 27, 2026 21:19
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 5.1.4 to 6.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.1/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.1 branch from 9780826 to 8f596f8 Compare March 27, 2026 21:23
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved dependency update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants