React Router: ReactRouterCatalogDeliveryOptions
Functions, types, and exports for React Router: ReactRouterCatalogDeliveryOptions.
Page outline
Production catalog delivery for the documents rendered by handleRequest.
import type { ReactRouterCatalogDeliveryOptions } from "@palamedes/react-router"
type ReactRouterCatalogDeliveryOptions = {
/** The client build directory; defaults to `build/client` in the process working directory. */
readonly clientDirectory?: string;
/**
* Skip the client manifest. Defaults to whether Vite built the server as a
* development build (`import.meta.env.DEV`), not to the runtime `NODE_ENV`.
*/
readonly development?: boolean;
/** Override the generated manifest filename for a custom Vite output. */
readonly manifestName?: string;
/** Trusted, catalog-independent markup shown when a browser catalog fails to load. */
readonly errorHtml?: string;
};
Properties
| Name | Type | Required | Description |
|---|---|---|---|
clientDirectory | string | No | Readonly. The client build directory; defaults to build/client in the process working directory. |
development | boolean | No | Readonly. Skip the client manifest. Defaults to whether Vite built the server as a development build ( import.meta.env.DEV), not to the runtime NODE_ENV. |
manifestName | string | No | Readonly. Override the generated manifest filename for a custom Vite output. |
errorHtml | string | No | Readonly. Trusted, catalog-independent markup shown when a browser catalog fails to load. |
Last updated: November 1, 2026