Skip to content

Conversation

@viktor-podzigun
Copy link

@viktor-podzigun viktor-podzigun commented Nov 26, 2022

Notes:

  • fixes webpack json stats parsing errors on missing optional fields in errors/warnings objects:
[error] Error parsing webpack stats output
[error] /warnings(0)/moduleName: JsonValidationError(List(error.path.missing),WrappedArray())
[error] /warnings(1)/moduleName: JsonValidationError(List(error.path.missing),WrappedArray())

[error] Error parsing webpack stats output
[error] /errors(0)/loc: JsonValidationError(List(error.path.missing),WrappedArray())
[error] /errors(1)/loc: JsonValidationError(List(error.path.missing),WrappedArray())
  • in case other parsing errors occur - prints webpack command to run manually that will help fixing original issues
  • related to Webpack 5 Support #350

@cornerman
Copy link

Can we get this merged? This would definitely help when encountering warning/hints/errors. Current workaround is to ignore/silence these warnings in your webpack config.

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