UNPKG

vite-plugin-react-server

Version:
20 lines 593 B
import type { Manifest } from "vite"; export type TryManifestOptions<SSR extends boolean = false> = { root: string; outDir: string; ssrManifest?: SSR; manifestPath?: string | boolean | undefined; }; export declare function tryManifest<SSR extends boolean = false>(options: TryManifestOptions<SSR>): Promise<{ type: "success"; manifest: SSR extends true ? Record<string, string[]> : Manifest; error?: never; } | { type: "error"; error: Error; manifest?: never; } | { type: "skip"; manifest: Manifest; }>; //# sourceMappingURL=tryManifest.d.ts.map