Packages

@vitejs/plugin-react

6.3.0 · 9 Nov 2026MIT142M / weekRepositoryHomepagenpmAtom feed

Your version

4.1.0

24 Sep 2023Where it was published

4.7.0 is the newest release of 4.x.

In short

1 new4 changed

Release note

  • Add @types/babel__cores to dependencies (fix #211)

  • Improve build perf when not using Babel plugins by lazy loading @babel/core #212

  • Better invalidation message when an export is added & fix HMR for export of nullish values #215

  • Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224

  • The build output now contains a index.d.cts file so you don't get types errors when setting moduleResolution to node16 or nodenext in your tsconfig (we recommend using bundler which is more close to how Vite works)

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.