Skip to content

Use webpack 3's standard way to generate a manifest in CommonsChunkPlugin #1026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from

Conversation

mgenware
Copy link
Contributor

@mgenware mgenware commented Nov 2, 2017

The doc URL: https://webpack.js.org/plugins/commons-chunk-plugin/#manifest-file

  • minChunks is set to Infinity so that only webpack runtime is written to manifest file.
  • chunnks: ['vendor'] is removed as entry chunks are selected if chunks is omitted.

These properties are especially useful when using multiple CommonsChunkPlugins.

@mgenware
Copy link
Contributor Author

mgenware commented Nov 2, 2017

@LinusBorg Just noticed you added a label, sorry for the duplicate PR, I accidentally deleted the remote branch, it was automatically closed now, have to start a new one #1028

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

Successfully merging this pull request may close these issues.

2 participants