Set up Lighthouse CI with performance budgets for my Netlify site:
Requirements:
- LCP must be < 2.5 seconds
- JavaScript bundle must be < 200KB
- Total size < 500KB
- Performance score >= 90
Setup needed:
- Install @lhci/cli and @netlify/plugin-lighthouse
- Create lighthouserc.js with these budget assertions
- Configure netlify.toml to run checks on all deploys
- Add GitHub status checks to block PRs that exceed budgets
- Create performance dashboard at /lighthouse-reports
Please configure the complete Lighthouse CI setup with these budgets.