Packages

@vitejs/plugin-react

6.3.0 · 9 Nov 2026MIT142M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitejs/plugin-react From 4.0.1 to 4.7.0

19 releases in betweenevery note read

Other targets from 4.0.1Latest6.3.0
  1. 4.0.1yours
  2. 18 releases
  3. 4.7.0target
0
changes to make
0
advisories fixed
2
new
2
fixes

Release by release

  1. 4.2.0 – 4.7.014 releases, nothing new or fixed in the notes

  2. 4.1.1

    2 Nov 20231 new
    • New

      Enable retainLines to get correct line numbers for jsxDev (fix #235)

  3. 4.1.0

    24 Sep 20231 new
  4. 4.0.4

    31 Jul 20231 fix
    • Fixed

      Fix #198: Enable Babel if presets list is not empty

  5. 4.0.3nothing new or fixed in the note

  6. 4.0.2

    6 Jul 20231 fix
    • Fixed

      Fix fast-refresh for files that are transformed into jsx

5 other lines we could not sort, mostly version bumps
  • Improve build perf when not using Babel plugins by lazy loading @babel/core #212

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

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

    4.1.0
  • 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)

    4.1.0
  • Revert #108: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.

    4.0.3

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.