Skip to content

chore(deps-dev): bump @vitejs/plugin-react from 5.2.0 to 6.0.2#2279

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2
Open

chore(deps-dev): bump @vitejs/plugin-react from 5.2.0 to 6.0.2#2279
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 15, 2026

Copy link
Copy Markdown

Bumps @vitejs/plugin-react from 5.2.0 to 6.0.2.

Release notes

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

plugin-react@6.0.2

Allow all options in reactCompilerPreset (#1189)

This is a type only change. Only compilationMode and target options were available for reactCompilerPreset.

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'],



</tr></table>

... (truncated)

Changelog

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

6.0.2 (2026-05-14)

Allow all options in reactCompilerPreset (#1189)

This is a type only change. Only compilationMode and target options were available for reactCompilerPreset.

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'
</tr></table>

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 15, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 15, 2026 21:25
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 15, 2026
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2/6f776ab

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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) May 15, 2026 21:26
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2 branch from cc799d8 to 5ff17e2 Compare May 15, 2026 21:29

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 5ff17e2 to 9ce8ff7 Compare May 19, 2026 06:29

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 9ce8ff7 to 75b92a8 Compare May 19, 2026 06:33

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 75b92a8 to 89373c7 Compare May 19, 2026 17:07

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 89373c7 to 3d2124a Compare May 20, 2026 04:01

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 3d2124a to 3549af2 Compare May 20, 2026 23:55

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 3549af2 to 9a75a5c Compare May 21, 2026 18:22

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 9a75a5c to 0b3730a Compare May 22, 2026 21:22

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 0b3730a to 8fc8392 Compare May 26, 2026 02:57

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 8fc8392 to b458c75 Compare May 27, 2026 01:29

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from b458c75 to c68c7f0 Compare May 27, 2026 22:43

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from c68c7f0 to 561a23c Compare May 29, 2026 23:29

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 561a23c to 1b323ec Compare June 2, 2026 19:56

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 1b323ec to c602380 Compare June 2, 2026 19:59

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from c602380 to 8509582 Compare June 2, 2026 20:04

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 8509582 to 1b6a380 Compare June 3, 2026 09:19

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 1b6a380 to 4a97a89 Compare June 4, 2026 03:18

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 4a97a89 to 92e0899 Compare June 4, 2026 21:22

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 92e0899 to 2eb8884 Compare June 5, 2026 21:21

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 2eb8884 to 0855b8c Compare June 8, 2026 21:28

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from 0855b8c to f894bdd Compare June 8, 2026 21:33

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2 branch from f894bdd to a14859a Compare June 9, 2026 21:26

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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.2.0 to 6.0.2.
- [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.2/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.2
  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.2 branch from a14859a to 6f776ab Compare June 10, 2026 21:23

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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