PrerenderConfig
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
Properties
concurrency?
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
1paths?
optional paths?: PrerenderPathsOption;The paths to prerender.
Default
truespider?
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
false