vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
13 lines • 502 B
TypeScript
import type { RenderPagesFn } from "./types.js";
/**
* Renders all pages for static generation
*
* This function:
* 1. Iterates through all routes in the urlMap
* 2. Renders each page using the provided renderPage function
* 3. Writes both RSC and HTML files for each route
* 4. Handles errors according to panic threshold
* 5. Retries failed routes with no-op Page component for minimal HTML shells
*/
export declare const renderPages: RenderPagesFn;
//# sourceMappingURL=renderPages.d.ts.map