Skip to content

TanStack Start / server: TanStackCatalogDeliveryOptions

Functions, types, and exports for TanStack Start / server: TanStackCatalogDeliveryOptions.

Page outline
import type { TanStackCatalogDeliveryOptions } from "@palamedes/tanstack/server"

type TanStackCatalogDeliveryOptions = {
    /** Built client output; defaults to `dist/client` from the host process. */
    readonly clientDirectory?: string;
    /**
     * Use development-generated active-locale dependencies before a client build
     * exists. 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 rendered when a catalog fails. */
    readonly errorHtml?: string;
    /**
     * The CSP nonce for the import map and readiness script: a fixed string, or
     * a resolver called once per HTML document request.
     */
    readonly nonce?: string | TanStackNonceResolver;
};

Properties

NameTypeRequiredDescription
clientDirectorystringNoReadonly. Built client output; defaults to dist/client from the host process.
developmentbooleanNoReadonly. Use development-generated active-locale dependencies before a client build
exists. 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 rendered when a catalog fails.
noncestring | TanStackNonceResolverNoReadonly. The CSP nonce for the import map and readiness script: a fixed string, or
a resolver called once per HTML document request.

Source entry on GitHub

Last updated: November 1, 2026