Hello! I just discovered tsup. However, I am struggling to see the benefit that tsup provides over using esbuild.
From what I gather, tsup's advantages are limited to:
tsc
together with esbuild, emitting type definitions (*.d.ts
)
tsc
manually in my build scripts?Please understand that I am not trying to attack tsup; I just want to know what core value it provides. The way I see it, tsup is very similar to Vite in that it is a mashup of different tools (esbuild, swc). However, tsup appears to lack a core feature that isn't provided by the underlying tools themselves (as opposed to Vite, which provides hot module replacement). I would be happy to be proved wrong.
Oh, and please put that value proposition statement at the top of the README.
P. S. For reference, klap provides a rundown of its useful features in their README.
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