# What changed in vite-plugin-svgr

> 3 changes in vite-plugin-svgr 5 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/vite-plugin-svgr/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## vite-plugin-svgr 5

### Breaking changes

- Support for Vite 2 was dropped, so projects using Vite 2 are no longer supported. (5.0.0) — [release notes](https://github.com/pd4d10/vite-plugin-svgr/releases/tag/v5.0.0)

### Performance

- SVGR dependencies are lazy loaded, reducing work until they are needed. (5.1.0) — [release notes](https://github.com/pd4d10/vite-plugin-svgr/releases/tag/v5.1.0)

### Fixes and other changes

- Corrects OxcTransformOptions to expose JSX options, so developers can access them through the type. (5.1.0) — [release notes](https://github.com/pd4d10/vite-plugin-svgr/releases/tag/v5.1.0)
