The output of the compiler for the server build.

interface ServerBuild {
    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>);
}

Properties

assetsBuildDirectory: string
basename?: string
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>)