@vitejs/plugin-react-swc
Advanced tools
Changelog
3.7.0
This is a long overdue and should fix some issues people had with HMR when migrating from CRA.
Changelog
3.6.0
This will unlock to use the plugin in some use cases where the original source code is not in TS. Using this option to keep using JSX inside .js
files is highly discouraged and can be removed in any future version.
Changelog
3.5.0
There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.
This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have React
in the scope.
Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.
Changelog
3.3.1
type: module
to package.json (#101). Because the library already publish .cjs
& .mjs
files, the only change is for typing when using the node16 module resolution (fixes #95)3.2.0
and this should people that were using both plugins before this version to migrate.Changelog
3.3.0
"use client"
warning when building library like @tanstack/react-query
This release goes in hand with the upcoming Vite 4.3 release focusing on performances: