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

[heft-webpack] Log nested errors/warnings #3801

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

dmichon-msft
Copy link
Contributor

Summary

Ensures that logging from webpack includes errors and warnings that originate in webpack child compiler instances.

Details

The stats hasErrors() function includes errors from child compilations, but these errors don't get propagated into the top level errors or warnings arrays. This PR updates the Heft logger to also enumerate errors and warnings in all child compilations.

How it was tested

Debugger validation of the location of nested errors.

@dmichon-msft dmichon-msft force-pushed the webpack-nested-errors branch from 3f2ef31 to 2902c74 Compare December 1, 2022 22:12
@dmichon-msft dmichon-msft merged commit e5df6b9 into microsoft:main Dec 1, 2022
@dmichon-msft dmichon-msft deleted the webpack-nested-errors branch December 1, 2022 23:22
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.

2 participants