rollup-dts-bundler
liveRollup plugin for accurate .d.ts bundling via @microsoft/api-extractor.
Developer ToolsTypeScript
What It Does
Details
This Rollup plugin provides a more accurate way to bundle TypeScript declaration files (.d.ts) using Microsoft's API Extractor, which is designed not to mangle type names or drop re-exports. It simplifies the process of integrating API Extractor into Rollup workflows by exposing it as an interface.
Who It's For
Best fit users
- •Developers
- •Teams
Why It Matters
Why this one made the cut
Improves accuracy and maintainability in TypeScript declaration bundling, especially for projects that use external libraries or need to re-export types from internal packages without mangling.
Differentiator
What makes it different
Unlike other .d.ts bundlers, this plugin leverages Microsoft's official API Extractor tool which is known for its thoroughness and reliability in handling type definitions accurately.
Sources