Skip to content

lit-ui-router-ssr / vite / PrerenderScriptOptions

Type Alias: PrerenderScriptOptions ​

ts
type PrerenderScriptOptions = Omit<PrerenderOptions, "outDir" | "write"> & Partial<Pick<PrerenderOptions, "outDir" | "write">>;

Defined in: packages/lit-ui-router-ssr/src/vite.ts:54

What a prerender script's callback returns: this package's PrerenderOptions, less what the build supplies. outDir and write come from the build, so a script may still pass either to override it.