vulcan-next icon indicating copy to clipboard operation
vulcan-next copied to clipboard

RFC: A dashing build speed

Open eric-burel opened this issue 5 years ago • 0 comments

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.

eric-burel avatar Jun 09 '20 14:06 eric-burel