chore(deps): bump @vitejs/plugin-react from 4.3.4 to 6.1.2 in /frontend
Bumps @vitejs/plugin-react from 4.3.4 to 6.1.2.
Release notes
Sourced from @vitejs/plugin-react's releases.
plugin-react@6.1.2
Fix HMR for compound components (#1484)
Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers.
Fix
compiler.logDiagnosticsoption not working (#1483)With
oxc-transform-react>= 0.148, thelogDiagnosticswas not working. This version fixes it and requiresoxc-transform-react>= 0.152 as a peer dependency if you are using thecompileroption.compiler.logDiagnosticsoption is now deprecated and should be swapped for the builtincompiler.reportDiagnostics.Disable refresh for non-jsx with compiler enabled (fix #1478) (#1485)
When the compiler was enabled, TS files could trigger fast refresh which would cause runtime errors. The logic now follows what the builtin oxc plugin in Vite does.
plugin-react@6.1.1
Add
compiler.logDiagnosticsoptionRecoverable React Compiler diagnostics are no longer logged by default. Set
compiler.logDiagnosticstotrueto log them through Vite. Fatal diagnostics are always logged and fail the transform.Respect environment sourcemap option for React Compiler transform when
builder.sharedPluginsis enabled (#1439)The React Compiler transform was using the top-level sourcemap option instead of the environment sourcemap option. This caused a problem when the experimental
builder.sharedPluginswas enabled.plugin-react@6.1.0
Add experimental native React Compiler support (#1419)
Add experimental native React Compiler support.
You can use it by installing
oxc-transform-reactand enabling it via thecompileroption:npm install -D oxc-transform-reactimport { defineConfig } from 'vite' import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [
react({ compiler: true })
]
})
plugin-react@6.0.5
Fixed the react compiler preset filter to be linear (#1353)
The improved filter in v6.0.3 was non-linear and caused a performance regression (#1349). The filter was changed to be linear to avoid that.
plugin-react@6.0.4
Fixed
$RefreshSig$ is not definederror when runningvite devwithNODE_ENV=production
... (truncated)
Changelog
Sourced from @vitejs/plugin-react's changelog.
6.1.2 (2026-10-05)
Fix HMR for compound components (#1484)
Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers.
Fix
compiler.logDiagnosticsoption not working (#1483)With
oxc-transform-react>= 0.148, thelogDiagnosticswas not working. This version fixes it and requiresoxc-transform-react>= 0.152 as a peer dependency if you are using thecompileroption.compiler.logDiagnosticsoption is now deprecated and should be swapped for the builtincompiler.reportDiagnostics.Disable refresh for non-jsx with compiler enabled (fix #1478) (#1485)
When the compiler was enabled, TS files could trigger fast refresh which would cause runtime errors. The logic now follows what the builtin oxc plugin in Vite does.
6.1.1 (2026-08-28)
Add
compiler.logDiagnosticsoptionRecoverable React Compiler diagnostics are no longer logged by default. Set
compiler.logDiagnosticstotrueto log them through Vite. Fatal diagnostics are always logged and fail the transform.Respect environment sourcemap option for React Compiler transform when
builder.sharedPluginsis enabled (#1439)The React Compiler transform was using the top-level sourcemap option instead of the environment sourcemap option. This caused a problem when the experimental
builder.sharedPluginswas enabled.6.1.0 (2026-08-19)
Add experimental native React Compiler support (#1419)
Add experimental native React Compiler support.
You can use it by installing
oxc-transform-reactand enabling it via thecompileroption:npm install -D oxc-transform-reactimport { defineConfig } from 'vite' import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [
react({ compiler: true })
]
})
6.0.5 (2026-07-30)
Fixed the react compiler preset filter to be linear (#1353)
The improved filter in v6.0.3 was non-linear and caused a performance regression (#1349). The filter was changed to be linear to avoid that.
... (truncated)
Commits
ac47648release: plugin-react@6.1.2 (#1491)98277e7fix(deps): update all non-major dependencies (#1486)12eddeafix(hmr): better handle compound components (#1484)3cfb1d1fix(plugin-react): fixcompiler.logDiagnostics(#1483)6de9915fix(plugin-react): disable refresh for non-jsx with compiler enabled (#1485)ee97d2ffix(deps): update all non-major dependencies (#1445)b0a014dchore: use Babel 8 for babel compiler playgrounds (#1460)61b650ffix(deps): update react-related dependencies (#1452)736efe2chore(deps): update tsdown to v0.23 (#1451)04cac50release: plugin-react@6.1.1 (#1440)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for @vitejs/plugin-react since your current version.
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)
Summary by cubic
Updates @vitejs/plugin-react from 4.3.4 to 6.1.2 in /frontend.
This is a major version bump. The plugin drops its Babel-based transform in favor of @rolldown/pluginutils, and now requires vite ^8.0.0 and Node.js ^20.19.0 or >=22.12.0. New optional peer dependencies enable React Compiler support.
Migration
- Verify the frontend runs
vite^8 and a compatible Node.js version before merging.