---
title: "PrerenderConfig"
description: "The object form of the `prerender` option: which paths to render, plus how many to render at once and whether to follow the links they contain."
url: "https://pitlane.tools/package/vite-plugin-remix/interface/PrerenderConfig"
---

# PrerenderConfig

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

The object form of the `prerender` option: which paths to render, plus how many to render at once and whether to follow the links they contain.

## See

[Prerendering guide: The object form](https://pitlane.tools/guides/prerendering.md#the-object-form)

## Properties

### concurrency?

```ts
optional concurrency?: number;
```

How many paths to render at once. Rendering is CPU-bound in-process, so the useful value depends on how much of a render waits on I/O.

#### Default

```ts
1
```

---

### paths?

```ts
optional paths?: PrerenderPathsOption;
```

The paths to prerender.

#### Default

```ts
true
```

---

### spider?

```ts
optional spider?: boolean;
```

Also follow the links each rendered page contains, and prerender those too. Turns the path list into a set of starting points rather than the complete answer, which suits a site whose pages all link to each other.

#### Default

```ts
false
```
