fix(deps): update dependency @vitejs/plugin-react to v5
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @vitejs/plugin-react (source) | ^4.7.0 -> ^5.0.0 |
Release Notes
vitejs/vite-plugin-react (@vitejs/plugin-react)
v5.1.2
v5.1.1
Update code to support newer rolldown-vite (#976)
rolldown-vite will remove optimizeDeps.rollupOptions in favor of optimizeDeps.rolldownOptions soon. This plugin now uses optimizeDeps.rolldownOptions to support newer rolldown-vite. Please update rolldown-vite to the latest version if you are using an older version.
v5.1.0
Add @vitejs/plugin-react/preamble virtual module for SSR HMR (#890)
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+ (#930)
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+.
v5.0.4
Perf: use native refresh wrapper plugin in rolldown-vite (#881)
v5.0.3
HMR did not work for components imported with queries with rolldown-vite (#872)
Perf: simplify refresh wrapper generation (#835)
v5.0.2
Skip transform hook completely in rolldown-vite in dev if possible (#783)
v5.0.1
Set optimizeDeps.rollupOptions.transform.jsx instead of optimizeDeps.rollupOptions.jsx for rolldown-vite (#735)
optimizeDeps.rollupOptions.jsx is going to be deprecated in favor of optimizeDeps.rollupOptions.transform.jsx.
Perf: skip babel-plugin-react-compiler if code has no "use memo" when { compilationMode: "annotation" } (#734)
Respect tsconfig jsxImportSource (#726)
Fix reactRefreshHost option on rolldown-vite (#716)
Fix RefreshRuntime being injected twice for class components on rolldown-vite (#708)
Skip babel-plugin-react-compiler on non client environment (689)
v5.0.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.