Best vite-plugin-dts Alternatives ranked by AI · updated Aug 2026

βœ… Update queued β€” the AI is re-ranking this list. The page will refresh shortly.

This page is already up to date.

vite-plugin-dts generates TypeScript declaration files during Vite builds and can roll them up with additional configuration. It targets Vite library authors who want type output integrated into their existing frontend or package build.

Developer: qmhc Price: Free, open source 🎯 github.com/qmhc/vite-plugin-dts

Top 6 vite-plugin-dts alternatives

1 TypeDoc logo

TypeDoc

TypeDoc contributors

TypeDoc generates API reference documentation from TypeScript source code and its comments. It is aimed at TypeScript library authors who want browsable...

Pros

  • Produces richer browsable documentation than API Extractor alone
  • Supports TypeScript projects and TSDoc-style comments
  • Has a mature plugin and theme ecosystem

Cons

  • Does not provide API Extractor-style change reports by default
  • Documentation output can require more theme and plugin configuration
  • Less focused on declaration bundling for package publishing
2 API Extractor logo

API Extractor

Microsoft

API Extractor is an open-source TypeScript tool for producing rolled-up declaration files, API reports, and release-ready API documentation. It is designed for...

Pros

  • Generates API reports that expose unintended public-surface changes
  • Produces bundled declaration files for package distribution
  • Integrates with Rush, TSDoc, and TypeScript library workflows

Cons

  • More complex to configure than declaration bundlers
  • Focused primarily on TypeScript libraries rather than general JavaScript documentation
  • API reports require teams to understand and maintain their review workflow

dts-bundle-generator combines TypeScript declaration files into a single distributable declaration file. It is intended for library authors who need a lightweight alternative...

Pros

  • Simpler setup than API Extractor for declaration bundling
  • Supports configurable entry points and module preservation
  • Can generate bundled declarations without a larger documentation pipeline

Cons

  • Lacks API Extractor's API report and review-file workflow
  • Provides fewer controls for public versus trimmed API surfaces
  • Does not generate a full API reference website
4

rollup-plugin-dts

James Henry

rollup-plugin-dts is a Rollup plugin that bundles TypeScript declaration files into a single output. It suits build pipelines already using Rollup and...

Pros

  • Fits naturally into existing Rollup build configurations
  • Uses standard Rollup output and plugin conventions
  • Handles declaration bundling with relatively little configuration

Cons

  • Requires Rollup knowledge and a compatible build setup
  • Does not create API reports or enforce approved public signatures
  • Has narrower TypeScript-library features than API Extractor
5

tsup

EGOIST

tsup is a zero-configuration TypeScript and JavaScript package bundler that can emit declaration files alongside compiled code. It is aimed at library...

Pros

  • Combines JavaScript bundling and declaration generation in one command
  • Much faster to start with than API Extractor's configuration model
  • Supports common library formats and package build targets

Cons

  • Does not provide API reports or API documentation generation
  • Offers less control over declaration trimming and API visibility
  • Advanced declaration bundling may depend on underlying tooling behavior
6

unbuild

UnJS

unbuild is a build system for publishing JavaScript and TypeScript packages, including declaration generation and source-preserving outputs. It is intended for package...

Pros

  • Supports both bundled and unbundled package output strategies
  • Generates declarations as part of a package-oriented build
  • Works well with modern monorepos and the UnJS ecosystem

Cons

  • Does not include API Extractor-style API reports
  • Less focused on detailed public API documentation
  • Its conventions can be unfamiliar outside the UnJS ecosystem

How good are these alternatives?

Your feedback helps us improve the AI rankings.

βœ… Thanks for your feedback!

Know a better alternative? πŸ™Œ

Suggest a product and our AI will verify it's a real alternative to vite-plugin-dts before adding it to the list.