Sourced from @vitejs/plugin-react's releases.
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.
Sourced from @vitejs/plugin-react's changelog.
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.
04cac50
release: plugin-react@6.1.1 (#1440)82d35ab
fix(react): respect environment sourcemap option when
builder.sharedPlugins...397e847
fix(react): make logging diagnostics an opt-in for React Compiler (#1431)61006e6
fix(deps): update all non-major dependencies (#1433)e2a649c
chore: use deps.neverBundle instead of
external in tsdown config (#1430)fb2d6f3
fix(deps): update all non-major dependencies (#1427)