Description
esbuild is a bundler and minifier for JavaScript, TypeScript, CSS and JSX, written to be extremely fast. It bundles code for the browser and for Node, and it supports JavaScript, CSS, TypeScript, JSX, JSON, text, binary and base64 content out of the box, so most projects need no extra loaders. Its main claim is speed without a cache. In the site's benchmark, bundling ten copies of the three.js library from scratch with default settings, including minification and source maps, took 0.39 seconds, against 14.91 seconds for Parcel 2 and 41.21 seconds for webpack 5. The docs cover installing it with npm, using it with Yarn Plug'n'Play, and build scripts for the browser and Node. A plugin API lets you add callbacks that resolve and load files and run when a build starts or ends. The site also documents source maps, build metadata, logging, path resolution and content types. You can try esbuild in the browser before installing it. The project is open source on GitHub, and the FAQ answers questions about why it is fast and how production-ready it is.…
Highlights
- Bundles JavaScript, TypeScript, CSS and JSX out of the box
- Very fast builds without needing a cache
- Minification and source maps
- Plugin API with resolve, load and build callbacks
- Try it in the browser before installing
- Open source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate esbuild.
People also visit
esbuild FAQ
What is esbuild?
A fast bundler and minifier for JavaScript, TypeScript, CSS and JSX, for both the browser and Node.
Is esbuild free?
Yes. The source code is public on GitHub.
How do I install it?
The docs cover installing it with npm and using it with Yarn Plug'n'Play. You can also try it in the browser first.
How fast is it?
In the site's benchmark, bundling ten copies of three.js with minification and source maps took 0.39 seconds, against 14.91 seconds for Parcel 2 and 41.21 seconds for webpack 5.
Can I extend it?
Yes. Plugins can hook into how files are resolved and loaded, and into the start and end of a build.
What are the best esbuild alternatives?
Popular alternatives to esbuild include bundle, Bun.sh and Typebench. See all esbuild alternatives





