github.com/evanw/esbuild@v0.21.4/README.md (about)

     1  <p align="center">
     2    <picture>
     3      <source media="(prefers-color-scheme: dark)" srcset="./images/wordmark-dark.svg">
     4      <source media="(prefers-color-scheme: light)" srcset="./images/wordmark-light.svg">
     5      <img alt="esbuild: An extremely fast JavaScript bundler" src="./images/wordmark-light.svg">
     6    </picture>
     7    <br>
     8    <a href="https://esbuild.github.io/">Website</a> |
     9    <a href="https://esbuild.github.io/getting-started/">Getting started</a> |
    10    <a href="https://esbuild.github.io/api/">Documentation</a> |
    11    <a href="https://esbuild.github.io/plugins/">Plugins</a> |
    12    <a href="https://esbuild.github.io/faq/">FAQ</a>
    13  </p>
    14  
    15  ## Why?
    16  
    17  Our current build tools for the web are 10-100x slower than they could be:
    18  
    19  <p align="center">
    20    <picture>
    21      <source media="(prefers-color-scheme: dark)" srcset="./images/benchmark-dark.svg">
    22      <source media="(prefers-color-scheme: light)" srcset="./images/benchmark-light.svg">
    23      <img alt="Bar chart with benchmark results" src="./images/benchmark-light.svg">
    24    </picture>
    25  </p>
    26  
    27  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.
    28  
    29  Major features:
    30  
    31  - Extreme speed without needing a cache
    32  - [JavaScript](https://esbuild.github.io/content-types/#javascript), [CSS](https://esbuild.github.io/content-types/#css), [TypeScript](https://esbuild.github.io/content-types/#typescript), and [JSX](https://esbuild.github.io/content-types/#jsx) built-in
    33  - A straightforward [API](https://esbuild.github.io/api/) for CLI, JS, and Go
    34  - Bundles ESM and CommonJS modules
    35  - Bundles CSS including [CSS modules](https://github.com/css-modules/css-modules)
    36  - Tree shaking, [minification](https://esbuild.github.io/api/#minify), and [source maps](https://esbuild.github.io/api/#sourcemap)
    37  - [Local server](https://esbuild.github.io/api/#serve), [watch mode](https://esbuild.github.io/api/#watch), and [plugins](https://esbuild.github.io/plugins/)
    38  
    39  Check out the [getting started](https://esbuild.github.io/getting-started/) instructions if you want to give esbuild a try.