Closed farooqkz closed 1 year ago
The package expects each error or warning message to be a String:
error
warning
https://github.com/infernojs/create-inferno-app/blob/master/packages/inferno-dev-utils/formatWebpackMessages.js#L20
While in webpack 5.x, it is an Object with a message entry:
message
https://raw.githubusercontent.com/webpack/analyse/master/app/pages/upload/example2.json
I think it must be updated to detect if the elements of stats.errors or stats.warnings are String or Object so that this part would be compatible with webpack 5.x
stats.errors
stats.warnings
The package expects each
error
orwarning
message to be a String:https://github.com/infernojs/create-inferno-app/blob/master/packages/inferno-dev-utils/formatWebpackMessages.js#L20
While in webpack 5.x, it is an Object with a
message
entry:https://raw.githubusercontent.com/webpack/analyse/master/app/pages/upload/example2.json
I think it must be updated to detect if the elements of
stats.errors
orstats.warnings
are String or Object so that this part would be compatible with webpack 5.x