Closed aulneau closed 1 year ago
I see it's faster. What are the other benefits? We are bringing at least 89 packages
with it.
yeah, true, there are dependencies of it we bring along. I'd say the benefits are you don't have to roll your own rollup/esbuild setup. there are also benefits around bundle size, minification, etc. you can recreate it by constructing a build step by hand, it all depends on the needs.
89 new deps is a no-go, since we're moving towards supply chain security
This PR is just an example of how we can use
tsup
to take care of bundling. I personally lovetsup
and many projects make use of it. -> https://tsup.egoist.dev/bundling takes less than 1 second on my machine: