vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
13 lines • 528 B
TypeScript
import type { ResolvedUserOptions } from "../../types.js";
/**
* Logic to resolve custom worker files, when the path is not relative to the plugin root,
* we assume it's a custom worker file and we need to add it to the inputs.
*
* @param param0
* @returns
*/
export declare const customWorkerFiles: ({ inputs, userOptions, }: {
inputs: Record<string, string>;
userOptions: Pick<ResolvedUserOptions, "rscWorkerPath" | "htmlWorkerPath">;
}) => Record<string, string>;
//# sourceMappingURL=customWorkerFiles.d.ts.map