runtime-webpack-plugin
v0.1.0
Published
Put the webpack runtime into its own chunk.
Downloads
111
Readme
runtime-webpack-plugin
Put the webpack runtime into its own chunk.
Using the CommonsChunkPlugin
results in the common chunk having the webpack runtime in it; sometimes this is not desirable. Isolating the webpack runtime also means you can leverage CDN caching since the runtime bundle changes every time the hash changes.
module.exports = {
// ...
plugins: [
new optimize.CommonsChunkPlugin(),
new RuntimePlugin('initial')
]
};