Make build stats machine readable #26432
wereHamster
started this conversation in
Ideas
Replies: 1 comment
-
I'd love to take this up Here's preliminary proposed JSON structure example
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request
Is your feature request related to a problem? Please describe.
The
next build
command prints the sizes of the page JS code to stdout This is very useful to see, but that information is not easily accessible to other tools for further processing. In particular, I'd like to save those numbers in a database and track them over time.Describe the solution you'd like
The
next build
command already generates a bunch of json files in the .next folder. My preferred solution would be another such json file which contains the same information as is being printed to stdout, in a structured, stable format.Describe alternatives you've considered
Parsing
next build
stdout is not robust enough, and neither is peeking into the .next folder.Beta Was this translation helpful? Give feedback.
All reactions