Skip to content

Bump @vitejs/plugin-react from 5.2.0 to 6.0.1 in /src-editor#2182

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

Bump @vitejs/plugin-react from 5.2.0 to 6.0.1 in /src-editor#2182
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/src-editor/vitejs/plugin-react-6.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2026

Bumps @vitejs/plugin-react from 5.2.0 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 labels Apr 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Not Automerged

The PR does not match any automerge rules.

Details: No configuration rule matched this update

Dependabot Information:

  • Package name(s): @vitejs/plugin-react
  • Update type: major
  • Dependency type: production
  • Previous version: 5.2.0
  • New version: 6.0.1

Modified Files:

  • src-editor/package-lock.json
  • src-editor/package.json

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/src-editor/vitejs/plugin-react-6.0.1 branch from 701b75f to 945650f Compare April 10, 2026 18:03
@github-actions
Copy link
Copy Markdown
Contributor

Not Automerged

The PR does not match any automerge rules.

Details: No configuration rule matched this update

Dependabot Information:

  • Package name(s): @vitejs/plugin-react
  • Update type: major
  • Dependency type: production
  • Previous version: 5.2.0
  • New version: 6.0.1

Modified Files:

  • src-editor/package-lock.json
  • src-editor/package.json

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/src-editor/vitejs/plugin-react-6.0.1 branch from 945650f to da4bc8b Compare April 11, 2026 12:13
@github-actions
Copy link
Copy Markdown
Contributor

Not Automerged

The PR does not match any automerge rules.

Details: No configuration rule matched this update

Dependabot Information:

  • Package name(s): @vitejs/plugin-react
  • Update type: major
  • Dependency type: production
  • Previous version: 5.2.0
  • New version: 6.0.1

Modified Files:

  • src-editor/package-lock.json
  • src-editor/package.json

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/src-editor/vitejs/plugin-react-6.0.1 branch from da4bc8b to 07db446 Compare April 11, 2026 13:52
@github-actions
Copy link
Copy Markdown
Contributor

Not Automerged

The PR does not match any automerge rules.

Details: No configuration rule matched this update

Dependabot Information:

  • Package name(s): @vitejs/plugin-react
  • Update type: major
  • Dependency type: production
  • Previous version: 5.2.0
  • New version: 6.0.1

Modified Files:

  • src-editor/package-lock.json
  • src-editor/package.json

Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 5.2.0 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:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/src-editor/vitejs/plugin-react-6.0.1 branch from 07db446 to 80d12ce Compare April 11, 2026 20:23
@github-actions
Copy link
Copy Markdown
Contributor

Not Automerged

The PR does not match any automerge rules.

Details: No configuration rule matched this update

Dependabot Information:

  • Package name(s): @vitejs/plugin-react
  • Update type: major
  • Dependency type: production
  • Previous version: 5.2.0
  • New version: 6.0.1

Modified Files:

  • src-editor/package-lock.json
  • src-editor/package.json

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 12, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/src-editor/vitejs/plugin-react-6.0.1 branch April 12, 2026 07:07
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant