tsdown
Library publishing with tsdown
Library Publishing
- Use
tsdownfor building and publishing packages - ESM format with declaration files
prepublishOnlyscript to build before publish- Never bundle dependencies that consumers should install themselves
- Export all types used in public API — DTS generation fails on unexported internal types leaking through re-exports