Skip to content

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