I recently upgraded Webpack from 4 to 5 and briefly looked for alternatives, but ultimately just decided to stick with Webpack since it works for us.
I recently upgraded Webpack from 4 to 5 and briefly looked for alternatives, but ultimately just decided to stick with Webpack since it works for us.
If you don't care about having a large plug-in ecosystem, or things like image optimization being handled directly by your bundler (and other stuff, from scanning the linked article), I'd say just go with esbuild
It's so much nicer to use than all the other bundlers.
EDIT:
To clarify, the dev experience is:
- You start with just the basic bundler with simple options you specify on the command line or maybe in a shell script.
- Then you want to do a few more things, so you turn the shell script into a nodejs script (or a Go program).
- You get to make the build script as simple or complex as you want. To your own discretion and to fit your use case.