Esbuild
An extremely fast bundler for the web
Install / Use
/learn @evanw/EsbuildREADME
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./images/wordmark-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="./images/wordmark-light.svg">
<img alt="esbuild: An extremely fast JavaScript bundler" src="./images/wordmark-light.svg">
</picture>
<br>
<a href="https://esbuild.github.io/">Website</a> |
<a href="https://esbuild.github.io/getting-started/">Getting started</a> |
<a href="https://esbuild.github.io/api/">Documentation</a> |
<a href="https://esbuild.github.io/plugins/">Plugins</a> |
<a href="https://esbuild.github.io/faq/">FAQ</a>
</p>
Why?
Our current build tools for the web are 10-100x slower than they could be:
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="./images/benchmark-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="./images/benchmark-light.svg"> <img alt="Bar chart with benchmark results" src="./images/benchmark-light.svg"> </picture> </p>The main goal of the esbuild bundler project is to bring about a new era of build tool performance, and create an easy-to-use modern bundler along the way.
Major features:
- Extreme speed without needing a cache
- JavaScript, CSS, TypeScript, and JSX built-in
- A straightforward API for CLI, JS, and Go
- Bundles ESM and CommonJS modules
- Bundles CSS including CSS modules
- Tree shaking, minification, and source maps
- Local server, watch mode, and plugins
Check out the getting started instructions if you want to give esbuild a try.
