UNPKG

@redwoodjs/sdk

Version:

A full-stack webapp toolkit designed for TypeScript, Vite, and React Server Components

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 {};