The vanilla TypeScript compiler has a feature called project references that makes it more convenient to work on composite/monorepo projects that would otherwise need multiple watch processes, and also for making sure they rebuild when a dependency changes.
It would be nice to have support for this in tsup.
Basically it might just need tsup to know how to correctly order the build of dependent project's d.ts.
https://www.typescriptlang.org/docs/handbook/project-references.html
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