Function

renderSite

From mothwing ยท src/build.js:121

Renders the pages into an existing build, as dev does after a change. With only, just those pages, and the sitemaps are left as they are.

renderSite(
  site: Site,
  { only }?: { only?: Set<string>; }
): Promise<{ deps: Record<string, string[]>; written: number; }>

Parameters

siteSite
optionsoptional{ only?: Set<string>; }

Returns

Promise<{ deps: Record<string, string[]>; written: number; }> What each page rendered is made from, see deps.js, and how many of the pages and their files were written, the rest were as they are