Skip to content
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

add options.excludeModule to specify external common used module #2067

Closed
wants to merge 2 commits into from

Conversation

dickeylth
Copy link

add options.excludeModule to specify external common used module that should not be processed by CommonsChunkPlugin, to compatible with situations where both CommonsChunkPlugin and webpack.externals defined may cause error for external module.

Ref issue: #2066

  • options.excludeModule
    • type: (RegExp | Function)
    • default: function () { return false; }
    • Specify common used module filter regexp / function to exclude from CommonsChunkPlugin process logic.

…at should not be processed by CommonsChunkPlugin, to compatible with situations where both CommonsChunkPlugin and `webpack.externals` defined may cause error for external module
@zhoujiantao
Copy link

please example?

@sokra
Copy link
Member

sokra commented Aug 17, 2016

fixed

@sokra sokra closed this Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants