rollup-plugin-stats
Version:
Output Rollup stats
8 lines (7 loc) • 355 B
TypeScript
type ExcludeFilepathParam = string | RegExp | ((filepath: string) => boolean);
export type ExcludeFilepathPatterns = ExcludeFilepathParam | Array<ExcludeFilepathParam>;
/**
* Check if filepath should be excluded based on patterns
*/
export declare function checkExcludeFilepath(filepath: string, patterns?: ExcludeFilepathPatterns): boolean;
export {};