# What changed in vite-plugin-dts

> 4 changes in vite-plugin-dts 3 to 5 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/vite-plugin-dts/

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

## vite-plugin-dts 5

### Fixes and other changes

- Preserves native declaration extensions. (5.1.2) — [release notes](https://github.com/qmhc/unplugin-dts/blob/02bd7870f12cb66ecf37c2352044043bf8a8aed8/packages/vite-plugin-dts/CHANGELOG.md#512-2026-10-03)
- Preserves the declaration graph across module formats. (5.1.1) — [release notes](https://github.com/qmhc/unplugin-dts/blob/02bd7870f12cb66ecf37c2352044043bf8a8aed8/packages/vite-plugin-dts/CHANGELOG.md#512-2026-10-03), [release notes](https://github.com/qmhc/unplugin-dts/blob/02bd7870f12cb66ecf37c2352044043bf8a8aed8/packages/vite-plugin-dts/CHANGELOG.md#511-2026-09-20)

## vite-plugin-dts 3

### New APIs and options

- Adds strictOutput to limit output write. (3.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/blob/HEAD/packages/vite-plugin-dts/CHANGELOG.md)

### Fixes and other changes

- Corrects path processing when entryRoot is specified. (3.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/blob/HEAD/packages/vite-plugin-dts/CHANGELOG.md)
