DEV Community

Discussion on: What is esbuild?

Collapse
 
honatas profile image
Jonatas de Moraes Junior

I didn't know esbuild until reading this article. After reading, I immediately proceeded to test it with a real-world production application. This application uses Gulp as its build tool, and Rollup to transpile Typescript. I've simply switched the gulp rollup plugin to the esbuild plugin and my total build time - which includes a lot of stuff like sass and other tools - dropped from 10~12 seconds to 5 seconds. Hot reloading after a change on any Typescript file dropped from 4 seconds to 1.2 seconds and this is due to eslint still being run under node, because transpiling time is now only taking less than half a second. Oh, and most importantly: the application still works with zero code change!