Skip to content

Instantly share code, notes, and snippets.

@marr
Created February 6, 2016 00:49
Show Gist options
  • Select an option

  • Save marr/23c65aeee1b5907722a9 to your computer and use it in GitHub Desktop.

Select an option

Save marr/23c65aeee1b5907722a9 to your computer and use it in GitHub Desktop.
// https://webpack.github.io/docs/list-of-plugins.html#commonschunkplugin
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',
filename: 'vendor.[hash].js',
minChunks: Infinity
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment