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

Webpack - CommonsChunkPlugin - force for node_modules #3576

Merged
merged 1 commit into from
Mar 13, 2018
Merged

Webpack - CommonsChunkPlugin - force for node_modules #3576

merged 1 commit into from
Mar 13, 2018

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Mar 12, 2018

CommonsChunkPlugin defaults to only putting libraries in vendor.js if they are used at least twice.

What we really want instead is to put only external dependencies in vendor.js, regardless of how many times they are used.

This ensures anything under node_modules will get in vendor.js

Extracted from #3517
(docs)

CommonsChunkPlugin defaults to only putting libraries in vendor.js if they are used at least twice.

What we really want instead is to put only external dependencies in vendor.js, regardless of how many times they are used.

This ensures anything under `node_modules` will get in vendor.js
@miq-bot
Copy link
Member

miq-bot commented Mar 12, 2018

Checked commit https://github.com/himdel/manageiq-ui-classic/commit/075041804a5b3eda2dd498611f2f1d64d523bdfa with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@mzazrivec mzazrivec self-assigned this Mar 13, 2018
@mzazrivec mzazrivec added this to the Sprint 82 Ending Mar 26, 2018 milestone Mar 13, 2018
@mzazrivec mzazrivec merged commit da28243 into ManageIQ:master Mar 13, 2018
@himdel himdel deleted the webpack-common-chunks branch March 13, 2018 13:35
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.

3 participants