twm-weapp
Version:
14 lines (13 loc) • 711 B
TypeScript
export declare const basename: (p: string, e?: string) => string;
export declare const relativePath: (from: string, to: string) => string;
export declare const absolutePath: (relativePath: string) => string;
export declare const joinPath: (...paths: string[]) => string;
export declare const dirname: (p: string) => string;
export declare const extname: (p: string) => string;
export declare const resolve: (...p: string[]) => string;
export declare const imageRE: RegExp;
export declare const mediaRE: RegExp;
export declare const fontsRE: RegExp;
export declare const isStaticAsset: (file: string) => boolean;
export declare const onlyCopy: RegExp;
export declare const isOnlyCopy: (file: string) => boolean;