webpack

Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

The powerful, highly-configurable app bundler.

When to choose it: Complex application builds that need its mature plugin/loader ecosystem and fine-grained control.

  • + Most flexible
  • + Huge plugin/loader ecosystem
  • + Battle-tested
  • - Slow vs modern tools
  • - Complex configuration
Latest version
5.107.2
Monthly downloads
193,238,293
GitHub stars
65,739
Minified + gzip
887.2 kB
Dependencies
23
License
MIT

Compare webpack with

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.