unstale

npm / vite-plugin-svgr

vite-plugin-svgr

What changed in vite-plugin-svgr 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking1 performance1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

vite-plugin-svgr 53 changes

Breaking changes 1

  • Support for Vite 2 was dropped, so projects using Vite 2 are no longer supported.

    5.0.0release notes

Performance 1

  • SVGR dependencies are lazy loaded, reducing work until they are needed.

    5.1.0release notes

Fixes and other changes 1

  • Corrects OxcTransformOptions to expose JSX options, so developers can access them through the type.

    5.1.0release notes

vite-plugin-svgr 41 changes

Breaking changes 1

  • SVG components are exported as default when imported with a query.

    4.0.0release notes

vite-plugin-svgr 31 changes

Breaking changes 1

  • CommonJS support was dropped, so developers can no longer use the package through that module format.

    3.0.0release notes