---
url: >-
  https://lit-ui-router.dev/v1/reference/ui-router-server/vite/interfaces/PrerenderBuild.md
---
[ui-router-server](../../index.md) / [vite](../index.md) / PrerenderBuild

# Interface: PrerenderBuild

Defined in: vite.ts:95

What the plugin hands the prerender script's default export after `vite build`.

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `base` | `string` | Vite's resolved `base`, the url path `outDir` is served at. | vite.ts:99 |
|  `outDir` | `string` | Vite's resolved output directory, absolute. | vite.ts:97 |
|  `shellHtml` | `string` | The built `index.html` as a string, read before any page is written. | vite.ts:101 |
|  `write` | [`FileWriter`](../../prerender/type-aliases/FileWriter.md) | Writes a file over `node:fs`, creating its directory. | vite.ts:103 |
