@vitejs/plugin-react
6.3.0 · 9 Nov 2026MIT142M / weekRepositoryHomepagenpmAtom feed
5.2.0 is the newest release of 5.x.
Release note
Add @vitejs/plugin-react/preamble virtual module for SSR HMR
SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react/preamble at the top of their client entry instead of manually calling transformIndexHtml. This simplifies SSR setup for applications that don't use the transformIndexHtml API.
Fix raw Rolldown support for Rolldown 1.0.0-beta.44+
Rolldown 1.0.0-beta.44+ removed the top-level jsx option in favor of transform.jsx. This plugin now uses the transform.jsx option to support Rolldown 1.0.0-beta.44+.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.