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

require validateSchema and optionsValidationError from webpack #478

Conversation

juliantellez
Copy link

@juliantellez juliantellez commented Jun 2, 2018

What kind of change does this PR introduce?

Bug Fix:

The new version of webpack-cli adds webpack to the global process object.
This causes applications such as webpack-dev-derver to break since it assumes that process.webpackModule is available in the current process.
This pr simply reverts this assumption.

Did you add tests for your changes?

If relevant, did you update the documentation?

Summary

Does this PR introduce a breaking change?

Other information

@jsf-clabot
Copy link

jsf-clabot commented Jun 2, 2018

CLA assistant check
All committers have signed the CLA.

@evenstensberg
Copy link
Member

Is there any way to keep webpack on the process variable? Global vs local installations was failing cause local/global paths wasn't resolving correctly.

@evenstensberg evenstensberg changed the base branch from master to fix-lookup June 2, 2018 14:58
@evenstensberg
Copy link
Member

Thanks! Gotta do some more work on this before we can submit the fix!

@evenstensberg evenstensberg merged commit af04aa2 into webpack:fix-lookup Jun 2, 2018
nning added a commit to nning/imgshr that referenced this pull request Jun 2, 2018
evenstensberg added a commit that referenced this pull request Jun 2, 2018
* fix: require validateSchema and optionsValidationError from webpack (#478)

* fix: fix lookups
@juliantellez juliantellez deleted the bugfix/require_validateSchema_from_webpack branch June 3, 2018 12:04
@juliantellez
Copy link
Author

Thanks @ev1stensberg ! glad to have put in my two pennies worth 👍

@evenstensberg
Copy link
Member

Helped us triage the bug in order to fix that quickly, thanks again @juliantellez !

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.

None yet

4 participants