Alternatives to webpack

A module bundler that packages JavaScript, CSS, HTML, WebAssembly and assets into optimized output. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as webpack.

  • Vite

    A frontend build tool and development server with instant start and hot module replacement.

    Vite offers instant dev server start and hot reload with TypeScript and JSX support out of the box. It uses a Rollup-compatible plugin system instead of webpack-style configuration.

  • esbuild

    A fast bundler and minifier for JavaScript, TypeScript, JSX and CSS with CLI, JavaScript and Go APIs.

    esbuild bundles and minifies JavaScript, TypeScript, JSX and CSS very quickly with CLI, JavaScript and Go APIs. Its plugin ecosystem is smaller than webpack's.

  • Parcel

    A zero-configuration build tool and bundler for web applications and libraries.

    Parcel works without configuration for common projects and installs missing plugins automatically. It gives less control than webpack for unusual setups and is not listed as open source.

  • Bun

    A JavaScript runtime, bundler, test runner and package manager in one executable, built as a faster drop-in for Node.js.

    Bun combines a runtime, bundler, test runner and package manager in one executable and runs TypeScript without a build step. Its Node compatibility is not complete.

Similar software

Related functionality, not a direct replacement.