Sourced from @vitejs/plugin-react's
releases.
plugin-react@5.1.0
Add
@vitejs/plugin-react/preamblevirtual module for SSR HMR (#890)SSR applications can now initialize HMR runtime by importing
@vitejs/plugin-react/preambleat the top of their client entry instead of manually callingtransformIndexHtml. This simplifies SSR setup for applications that don't use thetransformIndexHtmlAPI.Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ (#930)
Rolldown 1.0.0-beta.44+ removed the top-level
jsxoption in favor oftransform.jsx. This plugin now uses thetransform.jsxoption to support Rolldown 1.0.0-beta.44+.
Sourced from @vitejs/plugin-react's
changelog.
5.1.0 (2025-10-24)
Add
@vitejs/plugin-react/preamblevirtual module for SSR HMR (#890)SSR applications can now initialize HMR runtime by importing
@vitejs/plugin-react/preambleat the top of their client entry instead of manually callingtransformIndexHtml. This simplifies SSR setup for applications that don't use thetransformIndexHtmlAPI.Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ (#930)
Rolldown 1.0.0-beta.44+ removed the top-level
jsxoption in favor oftransform.jsx. This plugin now uses thetransform.jsxoption to support Rolldown 1.0.0-beta.44+.
3e5a374
release: plugin-react@5.1.044cbed4
fix(react): compat with newer rolldown (#930)c54d3c6
chore(deps): update all non-major dependencies (#926)a2d76d9
fix(deps): update all non-major dependencies (#918)fffb7eb
feat(react): expose virtual module to simplify hmr preamble setup on ssr
(#890)b79592a
fix(deps): update react-related dependencies (#901)2d239fc
fix(deps): update all non-major dependencies (#896)73be2f0
chore(deps): fix vitest > rolldown-vite dependency (#889)407795d
fix(deps): update all non-major dependencies (#887)47db473
chore(react): fix ecosystem-ci failure (#888)