Sourced from @vitejs/plugin-react's
releases.
plugin-react@5.0.0
No release notes provided.
plugin-react@5.0.0-beta.0
Use Oxc for react refresh transform in rolldown-vite
When used with rolldown-vite, this plugin now uses Oxc for react refresh transform.
Since this behavior is what
@vitejs/plugin-react-oxcdid,@vitejs/plugin-react-oxcis now deprecated and thedisableOxcRecommendationoption is removed.Also, while
@vitejs/plugin-react-oxcused the production JSX transform even forNODE_ENV=developmentbuild,@vitejs/plugin-reactuses the development JSX transform forNODE_ENV=developmentbuild.Allow processing files in
node_modulesThe default value of
excludeoptions is now[/\/node_modules\//]to allow processing files innode_modulesdirectory. It was previously[]and files innode_moduleswas always excluded regardless of the value ofexcludeoption.
reactandreact-domis no longer added toresolve.dedupeautomaticallyAdding values to
resolve.dedupeforces Vite to resolve them differently from how Node.js does, which can be confusing and may not be expected. This plugin no longer addsreactandreact-domtoresolve.dedupeautomatically.If you encounter errors after upgrading, check your package.json for version mismatches in
dependenciesordevDependencies, as well as your package manager’s configuration. If you prefer the previous behavior, you can manually addreactandreact-domtoresolve.dedupe.Remove old
babel-plugin-react-compilersupport that requiresruntimeModuleoption
runtimeModuleoption is no longer needed in newerbabel-plugin-react-compilerversions. Make sure to use a newer version ofbabel-plugin-react-compilerthat supportstargetoption.Require Node 20.19+, 22.12+
This plugin now requires Node 20.19+ or 22.12+.
Sourced from @vitejs/plugin-react's
changelog.
5.0.0 (2025-08-07)
5.0.0-beta.0 (2025-07-28)
Use Oxc for react refresh transform in rolldown-vite
When used with rolldown-vite, this plugin now uses Oxc for react refresh transform.
Since this behavior is what
@vitejs/plugin-react-oxcdid,@vitejs/plugin-react-oxcis now deprecated and thedisableOxcRecommendationoption is removed.Also, while
@vitejs/plugin-react-oxcused the production JSX transform even forNODE_ENV=developmentbuild,@vitejs/plugin-reactuses the development JSX transform forNODE_ENV=developmentbuild.Allow processing files in
node_modulesThe default value of
excludeoptions is now[/\/node_modules\//]to allow processing files innode_modulesdirectory. It was previously[]and files innode_moduleswas always excluded regardless of the value ofexcludeoption.
reactandreact-domis no longer added toresolve.dedupeautomaticallyAdding values to
resolve.dedupeforces Vite to resolve them differently from how Node.js does, which can be confusing and may not be expected. This plugin no longer addsreactandreact-domtoresolve.dedupeautomatically.If you encounter errors after upgrading, check your package.json for version mismatches in
dependenciesordevDependencies, as well as your package manager’s configuration. If you prefer the previous behavior, you can manually addreactandreact-domtoresolve.dedupe.Remove old
babel-plugin-react-compilersupport that requiresruntimeModuleoption
runtimeModuleoption is no longer needed in newerbabel-plugin-react-compilerversions. Make sure to use a newer version ofbabel-plugin-react-compilerthat supportstargetoption.Require Node 20.19+, 22.12+
This plugin now requires Node 20.19+ or 22.12+.
9e4a944
release: plugin-react@5.0.061d777d
fix(deps): update all non-major dependencies (#670)7d3a57a
release: plugin-react@5.0.0-beta.09ffd86d
fix(react): use development jsx transform for
NODE_ENV=development build (#...133d786
feat: merge plugin-react-oxc into plugin-react
(#609)26326b3
feat!: support including files in node_modules (#306)9ce3b22
fix(deps): update all non-major dependencies (#593)cadd7d2
fix!: remove resolve.dedupe (#586)005f16e
refactor!: remove old babel-plugin-react-compiler support
(#584)b9efa3f
refactor!: bump required node version to 20.19+, 22.12+ and drop CJS
build (#...