---
url: >-
  https://lit-ui-router.dev/v1/reference/lit-ui-router-ssr/vite/type-aliases/PrerenderScriptOptions.md
---
[lit-ui-router-ssr](../../index.md) / [vite](../index.md) / PrerenderScriptOptions

# Type Alias: PrerenderScriptOptions

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

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

What a prerender script's callback returns: this package's
[PrerenderOptions](../../index/interfaces/PrerenderOptions.md), less what the build supplies. `outDir`, `base`
and `write` come from the build, so a script may still pass any of them
to override it.
