# esbuild alternatives

The closest alternatives to esbuild are Rolldown, tsdown and Rollup. Stay with esbuild when: Bundling libraries, CLIs and server code with minimal configuration.

## Rolldown

Choose it over esbuild when: Pick it for Rollup-compatible plugins or if you already run Vite. It is the Rust bundler Vite 8 uses in place of esbuild and Rollup, said to be 10-30x faster than Rollup; for plain apps its guide recommends going through Vite.

**Rolldown**: a Rust bundler that Vite 8 uses in place of esbuild and Rollup, with Rollup's plugin API. Vite's release post says it is 10-30x faster than Rollup and matches esbuild's speed ([Vite 8](https://vite.dev/blog/announcing-vite8)). Pick it for Rollup-compatible plugins or if you already run Vite; for plain apps, Rolldown's own guide recommends going through Vite ([guide](https://rolldown.rs/guide/getting-started)).

- Licence: MIT
- On DevCurator: https://www.devcurator.com/tools/rolldown/
- Source: https://vite.dev/blog/announcing-vite8
- Checked: 25 November 2026

## tsdown

Choose it over esbuild when: Pick it for a typed npm package: a library bundler on Rolldown and Oxc that generates declaration files by default when package.json has a types field. tsup, the esbuild-based one, is no longer actively maintained and points to it.

**tsdown**: a library bundler on Rolldown and Oxc that generates declaration files by default when `package.json` has a `types` field ([dts](https://tsdown.dev/options/dts)). tsup, the esbuild-based library bundler, now says it is "not actively maintained anymore" and points to tsdown ([README](https://github.com/egoist/tsup)). Pick tsdown for a typed npm package.

- Licence: MIT
- Official site: https://tsdown.dev/
- Source: https://tsdown.dev/options/dts
- Checked: 25 November 2026

## Rollup

Choose it over esbuild when: Choose it for a module bundler built around ES modules, with static analysis that drops unused code. It does not resolve npm packages out of the box; you add a plugin.

Rollup is a module bundler that compiles small pieces of code into a library or application and uses the standardized ES module format ([introduction](https://rollupjs.org/introduction/)). It statically analyzes the code you import and excludes anything not used, which its docs call tree-shaking ([introduction](https://rollupjs.org/introduction/)). Unlike webpack and Browserify, it does not know out of the box how to handle dependencies installed from npm, so you add a plugin ([tools](https://rollupjs.org/tools/)). The latest release is 4.68.8, published 2026-11-21, under MIT ([npm registry](https://registry.npmjs.org/rollup/latest), [LICENSE](https://github.com/rollup/rollup/blob/master/LICENSE.md)).

- Licence: MIT
- Official site: https://rollupjs.org/
- Source: https://rollupjs.org/introduction/
- Checked: 25 November 2026

- [esbuild](https://www.devcurator.com/tools/esbuild.md)
- [esbuild vs Rolldown](https://www.devcurator.com/compare/esbuild-vs-rolldown.md)
- [esbuild vs Vite](https://www.devcurator.com/compare/esbuild-vs-vite.md)
