UNPKG

rwsdk

Version:

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

11 lines (10 loc) 284 B
import { Plugin } from "vite"; export declare const miniflareHMRPlugin: (givenOptions: { clientFiles: Set<string>; serverFiles: Set<string>; rootDir: string; viteEnvironment: { name: string; }; workerEntryPathname: string; }) => (Plugin | Plugin[])[];