esbuild Bundler

esbuild Bundler

esbuild.github.io

1

About this website

esbuild is an extremely fast JavaScript and TypeScript bundler and minifier created by Evan Wallace, co-founder and former chief technology officer of Figma, in 2020, written in Go, providing bundling, minification, TypeScript transpilation, and JSX transformation at speeds up to one hundred times faster than webpack, Rollup, and Parcel through native Go execution, parallel processing, and minimal dependency resolution overhead, with the ability to bundle large codebases in milliseconds rather than seconds, adopted by Vite as its development server bundler, by XDN for edge builds, and by hundreds of thousands of projects for fast development workflows. The Go-based implementation provides native performance through compiled machine code rather than interpreted JavaScript, with the entire bundling pipeline including parsing, linking, and code generation implemented in Go for maximum throughput, with parallel parsing of input files across all available CPU cores, and efficient memory management through the Go runtime garbage collector. The bundler resolves JavaScript and TypeScript modules following Node.js resolution algorithm including package.json exports, conditional exports, and workspace protocols, with support for CommonJS, ES modules, and mixed module systems, producing output in ESM, CommonJS, and IIFE formats, with code splitting through dynamic imports, tree shaking through dead code elimination, and automatic JSX transformation with configurable runtime including the React automatic runtime. The minifier provides aggressive code size reduction through variable and property mangling, syntax simplification, dead code elimination, and whitespace removal, with configurable target environments for cross-browser compatibility. The plugin API through JavaScript for custom loaders and resolvers. The on-resolve and on-load hooks. The incremental builds through context API. The sourcemap generation. Designed by Evan Wallace. Designed for build tooling.

Tags & Categories

Categories

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!