UNPKG

rwsdk

Version:

Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime

13 lines (12 loc) 443 B
interface TransformContext { environmentName: string; clientFiles?: Set<string>; isEsbuild?: boolean; addClientModule?: (environment: string, id: string) => void; } interface TransformResult { code: string; map?: any; } export declare function transformClientComponents(code: string, normalizedId: string, ctx: TransformContext): Promise<TransformResult | undefined>; export type { TransformContext, TransformResult };