You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need an automated way to monitor the initial bundle size of a page, rather than manually checking it through the build process or PageSpeed Insights. This will help prevent accidental increases in bundle size from being pushed to production. Implementing this as part of our PR checks would ensure better control over page performance.
Tasks
Measure bundle size on PR
Create a rule about it
Acceptance Criteria
PR check that measure bundle size so it can avoid PRs with increased bundle size to pushed to production
New rule is created
The text was updated successfully, but these errors were encountered:
I changed docker build to use @next/bundle-analyzer to generate bundle report files. And from actions there is script that calculates size and adds comment to PR.
Figure: Bundle size comment is added to PR after build
cc: @amankumarrr @wicksipedia
Description
We need an automated way to monitor the initial bundle size of a page, rather than manually checking it through the build process or PageSpeed Insights. This will help prevent accidental increases in bundle size from being pushed to production. Implementing this as part of our PR checks would ensure better control over page performance.
Tasks
Acceptance Criteria
The text was updated successfully, but these errors were encountered: