Instead of esbuild
esbuild alternatives
esbuild is a free, MIT-licensed web bundler built for speed and straightforward use. It handles JavaScript, CSS, TypeScript, and JSX; bundles ESM, CommonJS, and CSS modules; and includes tree shaking, minification, source maps, watch mode, a local server, and plugins. You can use its command-line, JavaScript, or Go API across Android, Linux, macOS, Windows, web, self-hosted setups, and other supported environments.
- 1
Rolldown
Free plan AndroidAPILinux+3Vite 8 projects and Rollup-compatible workflows — Rolldown is a Rust bundler with a Rollup-compatible API, configurable manual code splitting, and built-in transforms.
- 2
Rslib
Free plan APILinuxMac+2JavaScript and UI component library development — Rslib focuses on libraries, offering ESM, CJS, UMD, Module Federation, and IIFE outputs plus framework integrations.
- 3
SWC
Free plan AndroidAPILinux+3Fast JavaScript and TypeScript compilation — SWC is a Rust developer-tools platform with compilation, minification, WebAssembly transforms, custom plugins, and build-tool integrations.
- 4
Rspack
Free plan LinuxMacSelf-hosted+2Webpack ecosystem migration — Rspack modernizes the webpack API with Rust and TypeScript, incremental hot replacement, loaders, plugins, and framework integrations.
- 5
Terser
Free plan APILinuxMac+2JavaScript-only minification — Terser is a focused JavaScript minifier with configurable compression, mangling, source maps, CLI input streams, and Node.js access.
- 6
Vite
Free plan LinuxMacWeb+1Modern web application development — Vite combines an on-demand native-ES-module development server and HMR with production builds powered by Rolldown.
- 7
Google Closure Compiler
Free plan LinuxMacSelf-hosted+1Aggressive JavaScript optimization and checking — Google Closure Compiler analyzes JavaScript for dead code, syntax, references, and types, with WHITESPACE_ONLY, SIMPLE, and ADVANCED modes.
- 8
Grunt
Free plan LinuxMacWindows - 9
Oxc
Free plan LinuxMacWindows - 10
Gulp
Free plan LinuxMacWindows - 11
Parcel
Free plan APIExtensionLinux+3 - 12
Babel REPL
Free plan Web - 13
ncc
Free plan Linux - 14
Rollup
Free plan APILinuxMac+2 - 15
Browserify
Free plan Web - 16
Jake
Free plan APIWindows - 17
Sucrase
Free plan APILinux - 18
Turbopack
Free plan LinuxMacWindows - 19
Rsbuild
Free plan Web - 20
UglifyJS
Free plan APILinuxSelf-hosted - 21
webpack
Free plan APISelf-hostedWeb - 22
Farm
Free plan - 23
pkgroll
Free plan Linux - 24
An alternative may fit better if you need capabilities esbuild keeps separate or handles only partially. TypeScript type checking requires running tsc independently, and its code-splitting support is described as primitive. The native executable is faster than esbuild-wasm, while the project is primarily built by one developer and active feature development is not currently underway. Compare each option's bundling or compilation scope, framework and ecosystem integrations, development workflow, runtime requirements, platform coverage, and whether its specialized output, checking, or plugin compatibility matches your project.