4 ms·
I think a lot of them use bundlers but they use them for transpiling, going from ts to js and creating esm and common js files not for bundling in dependencies.
by johnnypangs 4y ago
I think a lot of them use bundlers but they use them for transpiling, going from ts to js and creating esm and common js files not for bundling in dependencies. I’ve also seen bundlers be used to include css in js as to not require users to manually import it.
It’s not so bad, working with just tsc can be a little more cumbersome as you have to running it multiple times to get esm and common js and it’s slower than some alternatives. I see it more akin to using a makefile than an anti pattern.