4 ms·
Outsider question: why use Rollup when Esbuild exist? Is esbuild not enough for production builds?
by throwaway290 7mo ago
Outsider question: why use Rollup when Esbuild exist? Is esbuild not enough for production builds?
- rk06 7mo agoit is not. lack of plugin support is sufficient to block adoptions among other things.
- throwaway290 7mo agobut it has plugin support? what kind of plugins you mean?
- rk06 7mo agolook at plugin api limiation here: https://esbuild.github.io/plugins/#svelte-plugin https://esbuild.github.io/plugins/#svelte-plugin esbuild's plugin support is limited which is why vite had to use rollup for prod build.
- abrztam 7mo agoalso since typescript is being ported to go and rolldown is rust, they're stuck using IPC, so they miss out on native stuff like type awareness that a pure go toolchain would get for free