@winter-love/vite-plugin-monorepo-alias
Version:
vite monorepo alias plugin
8 lines (7 loc) • 348 B
TypeScript
export interface CustomResolverOptions {
osPathDelimiter?: string;
root?: string;
sourceRoot?: string;
workspacePaths?: (string | RegExp)[];
}
export declare const createCustomResolver: (options: CustomResolverOptions) => (this: any, source: string, importer: undefined | string, resolveOptions?: Record<any, any>) => Promise<any>;