Skip to Content
Vuesho

Faster Builds

Faster Builds

  • The build renders up to four pages at once (no more than the machine's cores), so while a page waits for its Open Graph image, the others render. On the tsdown docs, which have an image per page, the pages and their images render in about 3 s instead of 7 s.
  • The build reads the sizes of images of other sites while it bundles, so a slow image host holds up less of the build. A size that can't be read still fails the build, as before.
  • The Vitest docs build in 3.4 s instead of about 3.7 s, with peak memory of 1.46 GB instead of 1.52 GB.

On this page