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 safety nets to early dependency freezing in Modules #284

Merged
merged 2 commits into from
Mar 5, 2018

Conversation

mzgoddard
Copy link
Owner

To help support webpack 4's side effects feature, dependencies need to be
serialized early to not get modified. If these dependencies cause an error
while being frozen log a message and let webpack continue without being able to
freeze those dependencies.

Store the verbose code needed to produce log messages in util/log-messages.
moduleFreezeError needing to appear in 3 other files is the first to get this
treatment.
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.

1 participant