</>PackageGraphPackageGraph

webpack

npmv5.108.4TypeScript

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.

48.6M
Weekly downloads
1
Dependents
112
Dependencies
95/100
Popularity

Overview

webpack is an npm package that 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. It is extremely widely used, with about 48.6M downloads per week and 1 known dependents in the graph. The latest version is 5.108.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need 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 and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (48.6M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (112 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of webpack.

Dependencies

Dev (90)

@babel/core ^8.0.1@babel/preset-react ^8.0.1@changesets/cli ^2.29.8@changesets/get-github-info ^0.8.0@codspeed/core ^5.5.0@types/convert-source-map ^2.0.3@types/eslint-scope ^3.7.7@types/graceful-fs ^4.1.9@types/jest ^30.0.0@types/mime-db ^1.43.6@types/neo-async ^2.6.7@types/node ^25.6.0@types/xxhashjs ^0.2.4@webdiscus/pug-loader ^2.11.1assemblyscript ^0.28.18babel-loader ^10.0.0bundle-loader ^0.5.6coffee-loader ^5.0.0coffeescript ^2.5.1core-js ^3.47.0cspell ^10.0.1css-loader ^7.1.2date-fns ^4.4.0es5-ext ^0.10.53es6-promise-polyfill ^1.2.0eslint ^9.39.2eslint-config-webpack ^4.9.3eta ^4.6.0file-loader ^6.0.0fork-ts-checker-webpack-plugin ^9.0.2globals ^17.6.0hash-wasm ^4.9.0html-loader ^5.1.0husky ^9.0.11istanbul ^0.4.5jest ^30.3.0jest-circus ^30.3.0jest-cli ^30.3.0jest-diff ^30.3.0jest-environment-node ^30.3.0jest-junit ^17.0.0jest-snapshot ^30.3.0json-loader ^0.5.7json5 ^2.1.3less ^4.6.4less-loader ^13.0.0lint-staged ^17.0.7lodash ^4.17.19lodash-es ^4.17.15memfs ^4.57.6meriyah ^7.0.0mini-css-extract-plugin ^2.9.0mini-svg-data-uri ^1.2.3node-gyp ^13.0.0nyc ^18.0.0open-cli ^9.0.0oxc-parser ^0.138.0pkg-pr-new ^0.0.75prettier ^3.8.2prettier-2 npm:prettier@^2pretty-format ^30.0.5pug ^3.0.3puppeteer-core ^23.11.1raw-loader ^4.0.1react ^19.2.7react-dom ^19.2.7rehype-sanitize ^6.0.0rehype-stringify ^10.0.1remark-frontmatter ^5.0.0remark-gfm ^4.0.1remark-parse ^11.0.0remark-rehype ^11.1.2rimraf ^3.0.2script-loader ^0.7.2simple-git ^3.28.0style-loader ^4.0.0terser ^5.46.2three ^0.185.1tinybench ^6.0.1toml ^4.1.1tooling github:webpack/tooling#v1.26.4ts-loader ^9.6.0typescript ^6.0.3unified ^11.0.5url-loader ^4.1.0wast-loader ^1.12.1webassembly-feature 1.3.0webpack-cli ^7.0.2xxhashjs ^0.2.2yamljs ^0.3.0

Used by

Popular packages that depend on webpack.

Frequently installed together

Version history

VersionPublishedLicense
5.108.4latest15 days agoMIT
5.108.319 days agoMIT
5.108.220 days agoMIT
5.108.123 days agoMIT
5.108.024 days agoMIT
5.107.21 month agoMIT
5.107.11 month agoMIT
5.107.02 months agoMIT
5.106.23 months agoMIT
5.106.13 months agoMIT
5.106.03 months agoMIT
5.105.44 months agoMIT
5.105.34 months agoMIT
5.105.25 months agoMIT
5.105.15 months agoMIT
5.105.05 months agoMIT
5.104.17 months agoMIT
5.104.07 months agoMIT
5.103.08 months agoMIT
5.102.19 months agoMIT

Maintainers

Funding

Frequently asked questions

How do I install webpack?

Run `npm install webpack` to add webpack to your npm project.

What license is webpack released under?

webpack is distributed under the MIT license.

How popular is webpack?

webpack has approximately 48,583,899 downloads per week and 1 known dependent packages.