Open sourceActive

webpack

Module bundler that understands ES2015, CommonJS and AMD modules and supports shimming globals and polyfills.

Open source page ↗

Field note

What it does

webpack compiles modules written as ES2015 modules, CommonJS or AMD, and can shim global dependencies and polyfill browser functionality on demand.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

npm

javascript / webpack

sdk

javascript / webpack-cli

sdk

javascript / babel-loader

sdk

javascript / html-webpack-plugin

cli

javascript / https://webpack.js.org/api/cli

sdk

javascript / https://webpack.js.org/api/node

cli

javascript / Not filed

cli

javascript / webpack-cli

npm

JavaScript / webpack

sdk

JavaScript / https://webpack.js.org/concepts/plugins

npm

Not filed / webpack

Product features

Product features

35 Contributors

Bundle Analysis

Code Splitting

Dynamic Imports

Entry dependencies

Entry Points

Further Reading

Global exports

Libraries may create globals which need to be exported.

Granular shimming

Wraps legacy modules that rely on this being the window object.

imports-loader

Overrides `this` context, e.g. wrapper=window, for legacy modules.

Prefetching/Preloading modules

Prevent Duplication

ProvidePlugin

Makes a package available as a variable in every module compiled through webpack.

SplitChunksPlugin

Tree shaking

Drops unused exports such as the rest of lodash when only one method is provided.

Understanding ChunkLoadError