# webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

Repository: https://github.com/webpack/webpack
Canonical: https://ross.abutalabs.com/products/webpack
Homepage: https://webpack.js.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: webpack, javascript, module-bundler, loaders, plugins, build-tool, web, web-performance, compiler, javascript-compiler, commonjs, amd, esm, es6, es2015, javascript-modules
Last push: 2026-08-26T21:17:46+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 5289, "days_push": 7, "days_rel": 36, "gap_med": 5.0, "n_releases_24m": 47}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 65962, forks 9522 (observed 2026-08-28T04:12:20.652061+00:00)

## What it is
Webpack is a static module bundler for JavaScript and other assets, packing many modules into a few optimized bundles for the browser. It supports code splitting, loaders for transforming any resource type, and a rich plugin ecosystem.

## Use cases
- bundle javascript for the browser
- split code for lazy loading
- transform css and sass in my build
- optimize assets for production
- set up a dev server with hot reload
- analyze my bundle size
- migrate a legacy commonjs app to es modules

## When to choose
- you need fine-grained control over bundling, code splitting, and asset pipelines
- you have a complex build with many loader/plugin requirements
- you're maintaining an existing webpack-based project

## When to avoid
- you want a zero-config bundler for a simple app (consider Vite or esbuild)
- you're building a small library where a simpler tool suffices
- build speed is the top priority over configurability

## Facets
- artifact type: library
- maturity: stable
- function: build-tool, compiler, developer-tools, cli, plugin-system
- domain: web-development, frontend, developer-tools, performance
- platform: cross-platform, cli
- tags: module-bundler, code-splitting, loaders, javascript, esm, commonjs, asset-pipeline, tree-shaking, hot-module-replacement, nodejs

## Member repositories
- webpack/webpack (main) score 98
- webpack/webpack-bundle-analyzer (plugin) score 95
- webpack/webpack-dev-server (plugin) score 92
- webpack/mini-css-extract-plugin (plugin) score 86
- webpack/css-loader (plugin) score 88
- webpack/sass-loader (plugin) score 90
- webpack/copy-webpack-plugin (plugin) score 79
- webpack/postcss-loader (plugin) score 80
- webpack/webpack-cli (plugin) score 98
- webpack/webpack-dev-middleware (plugin) score 98
- webpack/webpack.js.org (docs) score 67
- webpack/minimizer-webpack-plugin (plugin) score 95
- webpack/style-loader (plugin) score 67
- webpack/docs (docs) score 10
- webpack/compression-webpack-plugin (plugin) score 78
- webpack/html-loader (plugin) score 67
- webpack/thread-loader (plugin) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:20.652061+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:17:23.654446+00:00, confidence not recorded.
  - readme: https://github.com/webpack/webpack (fetched 2026-08-28T04:12:20.652061+00:00, sha f17555f4f960)
- Data as of 2026-08-30T08:39:29.467469+00:00.
