Closed slorber closed 3 years ago
Is it Ok to use the code source of the action created by Next.js ?
@hamzahamidi thanks for your contributions.
The issues with MLH tags are for MLH interns joining us for 2 months. As they just arrived I'd like to see how we assign the issues with the MLH tags first, and maybe delegate those issues to other contributors if MLH interns are already busy.
If you are looking to help on something, maybe we can get in touch on Discord so that we find an issue for you?
Hello @slorber may I take this up?
yes thanks, let me know if you need me to do something about it
Hi,
This is what I have in mind:
On a new PR, the GitHub action will run yarn build
and then
Calculate the build size as the sum of all the lib
folders in the 15 docusaurus packages
And also the time it took to execute the build
Can you please tell me if this is okay or something else is expected?
Example comment by the build-size-bot:
Package Name | Build Size | Build Time |
docusaurus-init | 120KB | 32s |
docusaurus-migrate | 40KB | 12s |
... | ... | ... |
Total | 300KB | 82s |
Integrate Build Size Bot
Integrate build size bot (or alternatives) to run on PRs to detect bundle size and performance regressions whenever changes are made to the repository.
Example of Next.js PR