UNPKG

rwsdk

Version:

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

15 lines (14 loc) 646 B
/** * Temporary paths for the generated vendor barrels in development. * * In dev, `directiveModulesDevPlugin` generates these paths in a temp directory * (outside of node_modules) and provides barrel content to Vite's optimizer * in-memory. The lookup plugins read these paths so the lookup map imports the * same temp files the optimizer is configured to pre-bundle. */ export declare const setVendorBarrelPaths: ({ client, server, }: { client: string; server: string; }) => void; export declare const getVendorClientBarrelPath: () => string | undefined; export declare const getVendorServerBarrelPath: () => string | undefined;