scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
233 stars 101 forks source link

Fixed Webpack stats parsing errors #443

Open viktor-podzigun opened 1 year ago

viktor-podzigun commented 1 year ago

Notes:

[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 #350
cornerman commented 1 year ago

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.