vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
18 lines • 648 B
TypeScript
import type { Plugin } from "vite";
export declare const createPluginOrchestrator: (userOptions: any) => Plugin[];
export interface Strategy {
mode?: "auto" | "server" | "client";
bundleTarget?: "server" | "client" | "ssr";
importContext?: "react-server" | "react-client";
mainThreadCondition?: "react-server" | "react-client";
legacyBuilder?: boolean;
staticBuild?: boolean;
ssg?: boolean;
forceCapabilities?: {
staticGeneration?: boolean;
serverComponents?: boolean;
clientBuilds?: boolean;
ssrBuilds?: boolean;
};
}
//# sourceMappingURL=createPluginOrchestrator.client.d.ts.map