0.1.0 • Published 9 years ago

runtime-webpack-plugin v0.1.0

Weekly downloads
106
License
CC0-1.0
Repository
github
Last release
9 years ago

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')
  ]
};