Alternatives to esbuild
A fast bundler and minifier for JavaScript, TypeScript, JSX and CSS with CLI, JavaScript and Go APIs. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
esbuild
A fast bundler and minifier for JavaScript, TypeScript, JSX and CSS with CLI, JavaScript and Go APIs.
Replacements
Listings that take over the same core job as esbuild.
Vite
A frontend build tool and development server with instant start and hot module replacement.
Vite adds a dev server with hot module replacement, server-side rendering support and a Rollup-compatible plugin system, but is installed per project rather than as a standalone binary.
webpack
A module bundler that packages JavaScript, CSS, HTML, WebAssembly and assets into optimized output.
webpack has a much larger loader and plugin ecosystem and many target platforms, but configuration grows complex and builds are slower than esbuild.
Parcel
A zero-configuration build tool and bundler for web applications and libraries.
Parcel bundles web apps with zero configuration, a built-in development server and automatic plugin installs, but gives less control than esbuild's APIs.
Bun
A JavaScript runtime, bundler, test runner and package manager in one executable, built as a faster drop-in for Node.js.
Bun includes a bundler inside a runtime, test runner and package manager, so switching also replaces Node rather than just the build step.
Deno
A JavaScript and TypeScript runtime with security on by default, TypeScript built in, and a complete toolchain in one binary.
Deno bundles a bundler with a TypeScript runtime, formatter, linter and test runner in one binary, with permissions denied by default.
Similar software
Related functionality, not a direct replacement.
TypeScript
A typed superset of JavaScript with a compiler that type-checks code and outputs plain JavaScript.
Biome
A fast formatter and linter for JavaScript, TypeScript, JSON, CSS, HTML and GraphQL in one tool.
Prettier
An opinionated code formatter for JavaScript, TypeScript, CSS, HTML, Markdown and other languages.
ESLint
A pluggable linter that finds and automatically fixes problems in JavaScript and JSX code.
Nx
A monorepo build system with caching and task orchestration for faster local builds and CI.
Node.js
The JavaScript runtime that server-side JavaScript is built on, with the npm ecosystem behind it.