UNPKG

vite-plugin-react-server

Version:
5 lines 631 B
import type { ResolvedUserOptions } from "../types.js"; import type { ConfigEnv } from "vite"; export type ModuleIDKey = "modulePattern" | "cssPattern" | "jsonPattern" | "htmlPattern" | "rscPattern" | "nodeOnly" | "cssModulePattern" | "vendorPattern" | "virtualPattern" | "dotFiles"; export declare const createDefaultModuleID: (options: Pick<ResolvedUserOptions, "moduleBase" | "moduleBasePath" | "autoDiscover" | "build" | "dev" | "moduleBaseURL" | "projectRoot">, configEnv?: ConfigEnv, mode?: string) => (id: string, sourceContent?: string, isClientByDirective?: boolean) => string; //# sourceMappingURL=createModuleID.d.ts.map