UNPKG

vite-plugin-react-server

Version:
16 lines 726 B
import type { InputNormalizer } from "../types.js"; type CreateInputNormalizerProps = { root: string; preserveModulesRoot?: string | undefined; removeExtension?: boolean | RegExp | string | ((path: string) => boolean); }; /** * @description Create a function that normalizes the input * @param root - The root of the project * @param preserveModulesRoot - The root of the preserve modules * @param removeExtension - Whether to remove the extension of the file * @returns A function that normalizes the input */ export declare function createInputNormalizer({ root, preserveModulesRoot, removeExtension, }: CreateInputNormalizerProps): InputNormalizer; export {}; //# sourceMappingURL=inputNormalizer.d.ts.map