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

[Feature]: Generate summarized single-file data with brief:writeDataJson #495

Open
kwonoj opened this issue Sep 2, 2024 · 1 comment
Open
Assignees
Milestone

Comments

@kwonoj
Copy link
Contributor

kwonoj commented Sep 2, 2024

What problem does this feature solve?

I may misunderstand, but brief mode's writeDataJson seems to like emit full analytics to generate the output html. For the processing in the remote system (CI, for example) hope if there's a simplified single json file instead.

What does the proposed API look like?

Mainly I'm intererested in few metrics like

  • build size : total, js, assets, Record<filename, {type, size}>
  • build time: span for the event { eventType, started, completed, parent }

if it's possible, brief mode have an option to accept which information to be included in summary but can't say for sure what type of values can be easily picked.

@easy1090
Copy link
Contributor

easy1090 commented Sep 3, 2024

Thanks~ Good idea!I will add this feature as soon as possible this month.

@easy1090 easy1090 added this to the 1.0.0 milestone Dec 3, 2024
@easy1090 easy1090 self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants