React Router API Reference
    Preparing search index...

    Interface ServerBuild

    The output of the compiler for the server build.

    interface ServerBuild {
        allowedActionOrigins?: false | string[];
        assets: UNSAFE_AssetsManifest;
        assetsBuildDirectory: string;
        basename?: string;
        entry: { module: ServerEntryModule };
        future: FutureConfig;
        isSpaMode: boolean;
        prerender: string[];
        publicPath: string;
        routeDiscovery: { manifestPath: string; mode: "lazy" | "initial" };
        routes: ServerRouteManifest;
        ssr: boolean;
        unstable_getCriticalCss?: (
            args: { pathname: string },
        ) => OptionalCriticalCss | Promise<OptionalCriticalCss>;
    }
    Index

    Properties

    allowedActionOrigins?: false | string[]
    assetsBuildDirectory: string
    basename?: string

    entry

    entry: { module: ServerEntryModule }
    future: FutureConfig
    isSpaMode: boolean

    This is now done via a custom header during prerendering

    prerender: string[]
    publicPath: string
    routeDiscovery: { manifestPath: string; mode: "lazy" | "initial" }
    routes: ServerRouteManifest
    ssr: boolean
    unstable_getCriticalCss?: (
        args: { pathname: string },
    ) => OptionalCriticalCss | Promise<OptionalCriticalCss>