Esbuild
esbuild extremely fast bundler. Use for fast builds.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill esbuildAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.0 KB, 244 tokens by cl100k_base, as published. Nobody here has run it
esbuild
esbuild changed the industry by proving that build tools could be 100x faster if written in Go/Rust. It is not just a bundler but a transpiler.
When to Use
- Pre-bundling: Used by Vite to bundle dependencies.
- Lambda Bundling: Creating small, single-file bundles for AWS Lambda.
- Speed: When Webpack takes 5 mins, esbuild takes 200ms.
Core Concepts
Go
Written in Go, compiled to native code. No JS overhead.
API
Simple, minimal API. esbuild.build({ ... }).
Plugins
Allows intercepting imports, but limited compared to Rollup/Webpack (by design).
Best Practices (2025)
Do:
- Use for TS Transpilation: It strips types instantly.
- Target
esnext: Let it output modern code for modern browsers.
Don't:
- Don't expect Type Checking: esbuild strips types; it does not check them. Run
tsc --noEmitseparately.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.