laravel-mix-glob
Version:
Laravel mix extension that add support for globs usage with an extensive concise api. For a more natural boosted productivity and dynamic. Configure once and forget about adding the files each time.
21 lines (20 loc) • 671 B
TypeScript
import type { Glob, OutConfig } from "../../../Glob";
/**
* files: are the glob matching against real files
*
* evaluations: are files mapped using the map function if provided. Or files otherwise
*
* processIndex: the current processed file index (iteration) Cartesian product
every evaluation is a one dimension in the Cartesian product
That index help when we have multiple globs. To manage the Cartesian space (All possibilities)
*/
export interface IGlobEvaluation {
glob: Glob;
files: string[];
evaluations: any[];
argIndex: number;
}
export interface IOutManagerRef {
outConfig: OutConfig;
argIndex: number;
}