next
Version:
The React Framework
27 lines (26 loc) • 862 B
TypeScript
import { __ApiPreviewProps } from '../next-server/server/api-utils';
import '../next-server/server/node-polyfill-fetch';
export declare type SsgRoute = {
initialRevalidateSeconds: number | false;
srcRoute: string | null;
dataRoute: string;
};
export declare type DynamicSsgRoute = {
routeRegex: string;
fallback: string | null | false;
dataRoute: string;
dataRouteRegex: string;
};
export declare type PrerenderManifest = {
version: 3;
routes: {
[route: string]: SsgRoute;
};
dynamicRoutes: {
[route: string]: DynamicSsgRoute;
};
notFoundRoutes: string[];
preview: __ApiPreviewProps;
};
export default function build(dir: string, conf?: null, reactProductionProfiling?: boolean, debugOutput?: boolean, runLint?: boolean): Promise<void>;
export declare type ClientSsgManifest = Set<string>;