UNPKG

@vitjs/core

Version:
19 lines (18 loc) 505 B
declare type IGetGlobalFiles = (options: { absSrcPath: string; files: string[]; checkExists?: boolean; }) => string[]; /** * get global file like (global.js, global.css) * @param absSrcPath * @param files default load global files */ export declare const getGlobalFiles: IGetGlobalFiles; export declare const isDynamicRoute: (path: string) => boolean; /** * judge whether ts or tsx file exclude d.ts * @param path */ export declare const isTSFile: (path: string) => boolean; export {};