github vitejs/vite-plugin-react plugin-react-swc@4.2.0

latest releases: plugin-rsc@0.5.23, plugin-rsc@0.5.22, plugin-react@6.0.1...
5 months ago

Add @vitejs/plugin-react-swc/preamble virtual module for SSR HMR (#890)

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react-swc/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.

Use SWC when useAtYourOwnRisk_mutateSwcOptions is provided (#951)

Previously, this plugin did not use SWC if plugins were not provided even if useAtYourOwnRisk_mutateSwcOptions was provided. This is now fixed.

Don't miss a new vite-plugin-react release

NewReleases is sending notifications on new releases.