vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
16 lines • 647 B
TypeScript
import type { VitePluginMainFn } from "./types.js";
/**
* Main entrypoint for React Server Components.
*
* This plugin uses the intelligent orchestrator to adapt its behavior based on the build context:
* - In Environment API builds: leverages full RSC capabilities
* - With static pages: adds static generation plugin when appropriate
*
* Use this for server-side rendering and static generation with full RSC support.
* Configure the build target through the strategy parameter.
* @param options
* @param strategy
* @returns
*/
export declare const vitePluginReactServer: VitePluginMainFn;
//# sourceMappingURL=plugin.client.d.ts.map