Skip to content
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

Report on initial chunks #462

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

mariaines
Copy link
Contributor

Fixes #460

This PR adds a line under "Total" to show the file count / diff for only initial chunks, when using code splitting. If no code splitting, initial isn't reported by webpack and thus the initial line shouldn't show up.

@camchenry I wasn't sure how to generate new json mock files to update the tests. Is there a repo somewhere I can update? If not happy to just make a toy app to generate some async examples from.

@camchenry
Copy link
Contributor

@camchenry I wasn't sure how to generate new json mock files to update the tests. Is there a repo somewhere I can update? If not happy to just make a toy app to generate some async examples from.

Unfortunately, no we don't have any such tool yet. To be honest, I hand-wrote some of the stats JSON files by manually copying and pasting the stats around 😱😅

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.

Show diff of initial chunks (in addition to total)
2 participants