esbuild
OfficialAgent-readyAbout esbuild
esbuild is a high-performance JavaScript and CSS bundler written in Go, capable of processing large projects in milliseconds. It supports TypeScript, JSX, CSS modules, and other modern web development formats natively.
Key features
- 01Bundle JavaScript, TypeScript, and CSS files into single or multiple outputs
- 02Automatically minify code and remove unused code without configuration
- 03Extend bundling behavior through a plugin system for custom transformations
Use cases
- 01Coding agents compiling and optimizing frontend resources quickly
- 02Building production bundles as part of CI/CD workflows
- 03Watch mode development with near-instant rebuild feedback
Install
Pick your OS or package manager and run the command in a terminal.
Once installed, runesbuild --versionto confirm it works.
Example commands
Common commands in the order you’d use them.
Details
From the project README
Website |
Getting started |
Documentation |
Plugins |
FAQ
Why?
Our current build tools for the web are 10-100x slower than they could be:
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.