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

Do not crash on errors in webpack 5 #481

Merged
merged 2 commits into from
Oct 22, 2020

Conversation

christiango
Copy link
Member

Resolves #477

In webpack 5, config errors manifest as errors with no stats object, causing webpack task to crash. This PR does not change the current behavior in WP4, but does avoid crashing in WP5

@christiango christiango requested a review from kenotron October 22, 2020 14:42
@kenotron
Copy link
Member

So..... you're saying we're Webpack 5 compatible? 👍

@kenotron kenotron merged commit 4e977b7 into microsoft:master Oct 22, 2020
@christiango christiango deleted the chrisgo/do-not-crash-wp5 branch October 22, 2020 16:35
@christiango
Copy link
Member Author

So..... you're saying we're Webpack 5 compatible? 👍

Other than this, I haven't seen any issues.

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.

WebpackTask throws exception trying to access .toString of stats when there is an error
2 participants