rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
17 lines (16 loc) • 634 B
text/typescript
import type { ViteBuilder } from "vite";
/**
* The build orchestrator is responsible for running the multi-phase build
* process for production. It is designed to solve the circular dependency
* between the worker, client, and SSR builds.
*
* @see docs/architecture/productionBuildProcess.md
*/
export declare function buildApp({ builder, clientEntryPoints, clientFiles, serverFiles, projectRootDir, workerEntryPathname, }: {
builder: ViteBuilder;
clientEntryPoints: Set<string>;
clientFiles: Set<string>;
serverFiles: Set<string>;
projectRootDir: string;
workerEntryPathname: string;
}): Promise<void>;