vulcan-next
vulcan-next copied to clipboard
RFC: A dashing build speed
Goal
Slow build is the number 1 productivity killer. Building a Vulcan Next app should be as fast as possible, even when your app grows big.
Ideas / leads
First, we need information, so we should facilitate bundle analysis
- [x] Stop server-side code leak / verify bundle size. Seems that for instance @vulcan/schema is exposing resolver, in particular client side. We might need to create 2 endpoints for those packages.
- [ ] Find tools to diagnostic TypeScript/Next build performance
- [X] Add webpack bundle analysis to Next
- [ ] Also find tools to diagnostic other tools build performance (Storybook, Cypress, Jest)
- [ ] Keep automated tests fast
- [ ] Automate Lighthouse audit
Then, if we notice specific issues, we should solve them one at a time.