rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
16 lines (15 loc) • 434 B
text/typescript
import { Plugin } from "vite";
export declare const hasEntryAsAncestor: ({ module, entryFile, seen, }: {
module: any;
entryFile: string;
seen?: Set<any>;
}) => boolean;
export declare const miniflareHMRPlugin: (givenOptions: {
clientFiles: Set<string>;
serverFiles: Set<string>;
rootDir: string;
viteEnvironment: {
name: string;
};
workerEntryPathname: string;
}) => (Plugin | Plugin[])[];