6.1.1
Added 1
- Add `compiler.logDiagnostics` option to control logging of recoverable React Compiler diagnostics
Changed 1
- Recoverable React Compiler diagnostics are no longer logged by default
Fixed 1
- React Compiler transform now respects environment sourcemap option instead of top-level sourcemap option when `builder.sharedPlugins` is enabled
From @vitejs/plugin-react
Add compiler.logDiagnostics option
Recoverable React Compiler diagnostics are no longer logged by default. Set compiler.logDiagnostics to true to log them through Vite. Fatal diagnostics are always logged and fail the transform.
Respect environment sourcemap option for React Compiler transform when builder.sharedPlugins is 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.sharedPlugins was enabled.