vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
13 lines • 513 B
TypeScript
import type { ConfigEnv } from "vite";
/**
* Extended ConfigEnv that includes our custom properties
*/
export interface ExtendedConfigEnv extends ConfigEnv {
isAppMode?: boolean;
}
/**
* Reconstruct ConfigEnv from process.argv and environment variables
* This allows us to determine the config environment before the config hook runs
*/
export declare const createConfigEnv: (mode?: string, command?: "build" | "serve", argv?: string[]) => ExtendedConfigEnv;
//# sourceMappingURL=createConfigEnv.d.ts.map