UNPKG

@redwoodjs/sdk

Version:

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

10 lines (9 loc) 372 B
import { Plugin } from "vite"; import { cloudflare } from "@cloudflare/vite-plugin"; type BasePluginOptions = Parameters<typeof cloudflare>[0]; type MiniflarePluginOptions = BasePluginOptions & {}; export declare const miniflarePlugin: (givenOptions: MiniflarePluginOptions & { rootDir: string; workerEntryPathname: string; }) => (Plugin | Plugin[])[]; export {};