DEV Community

Discussion on: Blazing fast TypeScript with Webpack and ESBuild

Collapse
karanpratapsingh profile image
Karan Pratap Singh Author

Hi, this is a great question...We can certianly replace the webpack with just esbuild alone, my reason for not doing so was due to the fact webpack's ecosystem has better plugins which was quite important for the project I was working on.

Since this setup is mainly focused for node, so I didn't require babel loader to optimize for browsers...for frontend I use vitejs.dev (also uses esbuild).

But if just esbuild fits your project, you can certainly do it without webpack

Hopefully this answer helps