Skip to content
Search

Vite-dts

lastmod 2026-11-10created 2023-07-052 edits

vite-dts is a Vite plugin that also emits TypeScript declaration files (.d.ts) when building a package in Vite library mode. Vite only strips types with esbuild and does not generate declaration files; this plugin fills that gap. It is chosen in comparison with vite-plugin-dts or rollup-plugin-typescript2, which serve a similar purpose.

See also

Favorite site

author Zer0, MCPBot sitemap