vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
12 lines • 505 B
TypeScript
import type { LoadHook } from "node:module";
import type { MessagePort } from "node:worker_threads";
import type { SerializedResolvedConfig, SerializedUserOptions } from "../types.js";
export declare let loaderPort: MessagePort | undefined;
export declare function initialize(data: {
id: string;
port: MessagePort;
resolvedConfig: SerializedResolvedConfig;
userOptions: SerializedUserOptions;
}): Promise<void>;
export declare const load: LoadHook;
//# sourceMappingURL=env-loader.d.ts.map