# Install 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. Version 5.107.2 via npm; verified 2026-05-25.

## Install

```sh
sudo av install npm:webpack
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g webpack
```

  Evidence: local npm package metadata

## Package Facts

- **Package key:** npm:webpack
- **Package manager:** npm
- **Package manager URL:** <https://www.npmjs.com/package/webpack>
- **Version:** 5.107.2
- **Source summary:** 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.
- **Homepage:** <https://github.com/webpack/webpack>
- **Repository:** <https://github.com/webpack/webpack>
- **Upstream docs:** <https://github.com/webpack/webpack>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/webpack/-/webpack-5.107.2.tgz>
- **Issue tracker:** <https://github.com/webpack/webpack/issues>
- **Published:** 2026-05-25T15:18:29.744Z
- **Last updated:** 2026-05-25T15:18:29.744Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- webpack (cli)

## Dependencies

- @types/estree
- @types/json-schema
- @webassemblyjs/ast
- @webassemblyjs/wasm-edit
- @webassemblyjs/wasm-parser
- acorn
- acorn-import-phases
- browserslist
- chrome-trace-event
- enhanced-resolve
- es-module-lexer
- eslint-scope
- events
- glob-to-regexp
- graceful-fs
- loader-runner
- mime-db
- neo-async
- schema-utils
- tapable
- terser-webpack-plugin
- watchpack
- webpack-sources

## Build Dependencies

- @babel/core
- @babel/preset-react
- @changesets/cli
- @changesets/get-github-info
- @codspeed/core
- @types/eslint-scope
- @types/glob-to-regexp
- @types/graceful-fs
- @types/jest
- @types/mime-db
- @types/neo-async
- @types/node
- @types/xxhashjs
- @webdiscus/pug-loader
- assemblyscript
- babel-loader
- bundle-loader
- coffee-loader
- coffeescript
- core-js
- cspell
- css-loader
- date-fns
- es5-ext
- es6-promise-polyfill
- eslint
- eslint-config-webpack
- file-loader
- fork-ts-checker-webpack-plugin
- globals
- hash-wasm
- html-loader
- husky
- istanbul
- jest
- jest-circus
- jest-cli
- jest-diff
- jest-environment-node
- jest-junit
- jest-snapshot
- json-loader
- json5
- less
- less-loader
- lint-staged
- lodash
- lodash-es
- memfs
- meriyah
- mini-css-extract-plugin
- mini-svg-data-uri
- node-gyp
- nyc
- open-cli
- oxc-parser
- pkg-pr-new
- prettier
- prettier-2
- pretty-format
- pug
- raw-loader
- react
- react-dom
- rehype-sanitize
- rehype-stringify
- remark-frontmatter
- remark-gfm
- remark-parse
- remark-rehype
- rimraf
- script-loader
- simple-git
- style-loader
- terser
- three
- tinybench
- toml
- tooling
- ts-loader
- typescript
- unified
- url-loader
- wast-loader
- webassembly-feature
- webpack-cli
- xxhashjs
- yamljs

## Install Behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 5.107.2
- Package-manager updated: 2026-05-25
- Local data status: ok
- Upstream repository: https://github.com/webpack/webpack
- info: No cached GitHub release or tag data was available.

## 安全说明

没有找到 webpack 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 5.107.2, Legacy: 1.15.0, Next: 5.0.0-rc.6, Webpack 2: 2.7.0, Webpack 3: 3.12.0, Webpack 4: 4.47.0
- **Version Count:** 875
- **Maintainers:** 15000621931, ev1stensberg, __hai, sokra, avivkeller, evilebottnawi, jhnns, thelarkinn
- **Author:** Tobias Koppers @sokra
- **Publisher:** GitHub Actions
- **Engines:** Node: >=10.13.0
- **Funding:** <https://opencollective.com/webpack>
- **Integrity:** sha512-v7RhXaJbpMlV0D7hC7lb2EbnxkoeUqf9qhKr6lozx3Q48pmFrqqNRmZFUEGmi7pSwm6fCQ2H1IjvCkHqdpVdjQ==
- **Shasum:** dea14dcb177b46b29de15f952f7303691ee2b596
- **Unpacked Size:** 6,609,505
- **File Count:** 0
- **Created At:** 2012-03-11T20:59:59.339Z
- **Latest Published At:** 2026-05-25T15:18:29.744Z
- **Modified At:** 2026-05-25T15:18:30.094Z

## Other Package-Manager Records

- Debian apt - webpack - 5.97.1+dfsg1+~cs11.18.27-3: normalized package name match | Debian stable package indexes: webpack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Packs CommonJs/AMD modules for the browser | https://github.com/webpack/webpack
- Ubuntu apt - webpack - 5.76.1+dfsg1+~cs17.16.16-1: normalized package name match | Ubuntu 24.04 LTS package indexes: webpack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Packs CommonJs/AMD modules for the browser | https://github.com/webpack/webpack


## Related Links

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [webpack](https://www.automicvault.com/zh-hans/pkg/brew/webpack/) - Same normalized package name appears in another local ecosystem. Shared terms: module, webpack.
- [@vercel/nft](https://www.automicvault.com/zh-hans/pkg/npm/vercel-nft/) - Local package facts share a topical domain. Shared terms: acorn, async, estree, files, glob.
- [father](https://www.automicvault.com/zh-hans/pkg/npm/father/) - Local package facts share a topical domain. Shared terms: enhanced, enhanced-resolve, glob, import, loader.
- [webpack](https://www.automicvault.com/zh-hans/pkg/brew/webpack/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
