PluginsEdit this Page
webpack has a rich plugin interface. Most of the features within webpack itself use this plugin interface. This makes webpack flexible.
Generates chunks of common modules shared between entry points and splits them into separate bundles, e.g.,
Use components with webpack
Prepare compressed versions of assets to serve them with Content-Encoding
Allows global constants configured at compile time, useful for allowing different behavior between dev/release builds
Shorthand for using the
Extracts Text (CSS) from your bundles into a separate file (app.bundle.css)
Simplifies creation of HTML files (
index.html) to serve your bundles
Adds i18n support to your bundles
Set min/max limits for chunking to fine tune and control chunking
Replaces resource that matches a regexp
For more third-party plugins, see the list from awesome-webpack.