I really like the option to use @microsoft/api-extractor for DTS types. However, it doesn't work for all cases. It seems that it's currently only built for single entrypoint builds, see this section here:
https://api-extractor.com/pages/setup/configure_rollup/#an-important-limitation
And another thing, it doesn't seem to be copying the emitted dts files into the dist directory, even though it seems that it should be.
I also wanted to comment, Tsup is an incredible library and it's made building esm/cjs libs a breeze. Thank you very much for your work ππ»
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too