UNPKG

758 BSource Map (JSON)View Raw
1{"version":3,"file":"glob.js","sourceRoot":"","sources":["../../../src/lib/utils/glob.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA0C;AAC1C,mCAAkC;AAE3B,KAAK,UAAU,SAAS,CAAC,OAA0B,EAAE,OAAiB;IAC3E,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,IAAA,eAAO,EAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mBAAI,EAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAE7E,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC/B,CAAC;AAJD,8BAIC","sourcesContent":["import glob, { Options } from 'fast-glob';\nimport { toArray } from './array';\n\nexport async function globFiles(pattern: string | string[], options?: Options): Promise<string[]> {\n const files = await Promise.all(toArray(pattern).map(p => glob(p, options)));\n\n return files.flatMap(x => x);\n}\n"]}
\No newline at end of file