-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when using bundle-stats v4.14.0 #4636
Comments
@BPScott thanks for creating the issue! It sounds like a regression, though we are testing bundle-stats releases with various formats, including the one from rollup-plugin-webpack-stats. If it is possible to share your webpack stats privately, please send them to the email address visible on my gh profile. |
Was able to replicate the issue for cases when the report has no baseline, that's a case we are not testing automatically. If you get the chance, can you please try |
@BPScott thank you for checking! The fix is now available on
Indeed, we do not know if the baseline value is missing or just empty, will handle it here: #4639. Thank you for the feedback! |
The changes in bundle-stats v4.14.0 that let you identify what chunks a module belongs to looks super useful.
However the stats file produced by rollup-plugin-webpack-stats
v1.0.2
causes a runtime error when clicking a module in themodules
tab.The UI seems to be unable to recover from this error, and I am no longer able to click into other tabs.
I suspect
size
, and probably other pieces of information that were previously not required bybundle-stats
, are now required, and as this package doesn't aim to produce a complete stats file, only including what bundle-stats needs, it hasn't been updated yet to include those new required data keys.Reproduction steps
v1.0.2
. (the repo I'm using is private so I don't want to post the generated stats file publicly, but I suspect any vite build would work).The text was updated successfully, but these errors were encountered: