---
title: "PrerenderOption"
description: "Everything `remix({ prerender })` accepts: `true` for every static path in the route map, `false` for none, an explicit path list, a function that computes one, or a [PrerenderConfig](https://pitlane.tools/package/vite-plugin-remix/interface/PrerenderConfig.md) that adds `concurrency` and `spider`."
url: "https://pitlane.tools/package/vite-plugin-remix/type/PrerenderOption"
---

# PrerenderOption

```ts
import type { PrerenderOption } from "@pitlane/vite-plugin-remix";
```

```ts
type PrerenderOption =
  | PrerenderPathsOption
  | PrerenderConfig;
```

Everything `remix({ prerender })` accepts: `true` for every static path in the route map, `false` for none, an explicit path list, a function that computes one, or a [PrerenderConfig](https://pitlane.tools/package/vite-plugin-remix/interface/PrerenderConfig.md) that adds `concurrency` and `spider`.

## See

[Prerendering guide](https://pitlane.tools/guides/prerendering.md)
