Skip to content

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

NameTypeRequiredDescription
clientDirectorystringNoReadonly. The client build directory; defaults to build/client in the process working directory.
developmentbooleanNoReadonly. 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.
manifestNamestringNoReadonly. Override the generated manifest filename for a custom Vite output.
errorHtmlstringNoReadonly. Trusted, catalog-independent markup shown when a browser catalog fails to load.

Source entry on GitHub

Last updated: November 1, 2026