rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
12 lines (11 loc) • 680 B
text/typescript
import { Plugin } from "vite";
import { ConfigurableEsbuildOptions } from "./runDirectivesScan.mjs";
export declare const generateVendorBarrelContent: (files: Set<string>, projectRootDir: string, excludedRoots?: string[]) => string;
export declare const generateAppBarrelContent: (files: Set<string>, projectRootDir: string, excludedRoots?: string[]) => string;
export declare const directiveModulesDevPlugin: ({ clientFiles, serverFiles, projectRootDir, workerEntryPathname, esbuildOptions, }: {
clientFiles: Set<string>;
serverFiles: Set<string>;
projectRootDir: string;
workerEntryPathname: string;
esbuildOptions: ConfigurableEsbuildOptions;
}) => Plugin;