Closed JLHwung closed 1 month ago
Since this feature should help users providing more debug message when reporting babel-loader bugs. Do you think we should backport this feature to the 9.x? The stats.loggingDebug
option has been available since webpack 4, so we could do that for the 8.x as well.
We can cut the 9.x branch from e4492878ee2e8351a6cc3e744f043b3cfad8ab83.
Please Read the CONTRIBUTING Guidelines In particular the portion on Commit Message Formatting
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
babel-loader
does not output very much debug logsWhat is the new behavior? When the webpack option
stats.loggingDebug
is set to includesbabel-loader
, the loader will now output detailed debug logs, which could help users trouble shooting common errors, such as insufficient cache folder permissions or debugging babel-loader overrides.Does this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
Other information: This PR is based on #1033, I will rebase once that PR gets merged.
As this PR is for the 10.0 milestone, I will prepare a new readme PR that should be merged before we release 10.0.