Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const plugins = [
// extract vendor and webpack's module manifest
new webpack.optimize.CommonsChunkPlugin({
names: [ 'vendor', 'manifest' ],
minChunks: Infinity
// extract common modules from all the chunks (requires no 'name' property)
new webpack.optimize.CommonsChunkPlugin({
async: true,
children: true,
minChunks: 4
Copy link

maxwaiyaki commented Mar 18, 2020


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment