UNPKG

@ly-js/automatic

Version:

automatic of vue

11 lines (10 loc) 629 B
import type { Modules } from '../type'; export declare const suffix: string[]; export declare const suffixReg: RegExp; export declare const addSuffix: (str: string, suffix?: string) => string; export declare const filterModules: (modules: Modules, fn: (key: string) => boolean) => string[]; export declare const matchModules: (regStr: string | string[], modules: Modules) => string[]; export declare const excludeModule: (modules: Modules, keys: string[]) => { [x: string]: () => Promise<import("../type").Module>; }; export declare const comparePath: (p1?: string | undefined, p2?: string | undefined) => boolean;