esbuild is a bundler and minifier for web code, written in Go by Evan Wallace and released in 2020. Its repository describes it plainly as an extremely fast bundler for the web, and its defining claim is performance: the project argues that the web’s existing build tools are 10 to 100 times slower than they could be, and esbuild was built to demonstrate how much faster bundling can run.
The speed comes largely from implementation choices that set esbuild apart from its predecessors. Most JavaScript bundlers, including webpack and Rollup, were themselves written in JavaScript and run on Node.js. esbuild is written in Go, compiles to a native binary, and parallelizes work across CPU cores. Its own benchmarks show a production bundle that takes esbuild a fraction of a second while comparable runs with webpack, Rollup with Terser, or Parcel take tens of seconds.
Despite the focus on speed, esbuild is a real bundler with a broad feature set. It bundles both ES modules and CommonJS modules, handles CSS including CSS modules, and supports TypeScript and JSX out of the box. It also performs tree shaking to drop unused code, minification to shrink output, and source map generation, and it exposes a straightforward API usable from the command line, JavaScript, and Go.
esbuild’s arrival reshaped expectations for build performance across the ecosystem. Rather than replacing every existing tool, it was frequently adopted as a fast component inside larger pipelines. Vite, for example, used esbuild for fast compilation and dependency pre-bundling during development while relying on Rollup for thorough production optimization, combining esbuild’s raw throughput with a more mature production bundler.
By proving that a native-language implementation could outpace JavaScript-based tooling by orders of magnitude, esbuild helped trigger a broader move toward writing front-end build tools in compiled systems languages. It became a reference point for the next generation of bundlers and influenced efforts to rebuild the JavaScript toolchain around faster, lower-level foundations.