UNPKG

rwsdk

Version:

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

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