You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm not sure what causes our Stats output to create a null value in a chunk's files array, but the parsing logic around this breaks the entire web application.
Here's what our stats output looks like...
And here's the error we get when trying to load it...
Describe the bug
I'm not sure what causes our Stats output to create a
null
value in achunk
'sfiles
array, but the parsing logic around this breaks the entire web application.Here's what our stats output looks like...
And here's the error we get when trying to load it...
I was able to find this piece of logic here, https://github.com/statoscope/statoscope/blob/master/packages/webpack-model/src/handleCompilation.ts#L426. I noticed there is a
.filter(Boolean)
after the.map
. I believe putting the.filter
first would solve this issue.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect to use https://statoscope.tech to load a Stats output from my
webpack
configuration.Versions:
14.14.0
5.69.1
@statoscope/webpack-plugin@5.20.1
The text was updated successfully, but these errors were encountered: