
About esbuild
esbuild is an open source bundler and minifier for JavaScript, TypeScript, JSX and CSS. It is written in Go and built for speed, so builds finish in a fraction of the time many older tools need.
What it does
esbuild takes your entry files and bundles them with their imports into one or more output files. It handles JavaScript, TypeScript, JSX, CSS and JSON without extra plugins, and it can output ES modules or CommonJS. Tree shaking, minification and source maps are included, and a local dev server and watch mode help with daily work.
Key features
- Bundles JavaScript, TypeScript, JSX and CSS
- Tree shaking and minification built in
- Source maps for debugging output
- Local dev server and watch mode
- Plugin API for custom loading and resolving
Who it's for
Frontend developers and library authors who want a fast, simple build without a large configuration file. It is also often used as a build step inside other tools.
Pricing and good to know
esbuild is free and open source under the MIT license. It offers a command line tool, a JavaScript API and a Go API. Its plugin system has some limits, so check the documentation for what plugins can change before you rely on a specific workaround.
Highlights
- Bundles JavaScript, TypeScript, JSX and CSS
- Tree shaking and minification in one step
- Source maps for tracing output back to source
- Local dev server and watch mode
- Plugin API for custom file loading












