vite-plugin-dts
JSON →vite-plugin-dts is a Vite plugin that generates TypeScript declaration files (.d.ts) from your source code during the build process. Current stable version is 4.5.4, with frequent releases. It integrates with both TypeScript's built-in compiler and vue-tsc for Vue SFC support. Key differentiators include support for bundling declarations via @microsoft/api-extractor, path alias resolution, and a flexible plugin system with hooks like afterBootstrap. It is the de facto standard for declaration generation in Vite projects, actively maintained with a strong focus on compatibility and performance.
Traffic · last 30 days ↑80% vs prev 7d
total hits 22
actors 6 distinct systems
last hit 2d ago ByteDance
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇧🇪 Belgium · 🇩🇪 Germany
API endpoints
full doc /v1/registry/vite-plugin-dts
compatibility /v1/registry/vite-plugin-dts/compatibility