UNPKG

@winter-love/vite-plugin-monorepo-alias

Version:

vite monorepo alias plugin

6 lines (5 loc) 375 B
type TrimType = 'left' | 'right' | 'both'; export declare const createTrimPathRegExp: (pathSeparator?: string, type?: TrimType) => RegExp; export declare const createTrimPath: (pathSeparator?: string, max?: number, type?: TrimType) => (path: string, replaceValue?: string) => string; export declare const trimPath: (path: string, replaceValue?: string) => string; export {};