【发布时间】:2017-10-11 15:10:58
【问题描述】:
我需要使用 minimatch 来定位特定文件(在 TypeDoc 中排除 - 我不需要测试和其他一些文件)。
我需要排除 /test 目录中的所有文件以及所有目录中的所有 index.ts
试过**/+(index.ts|**/test/*.ts),但没用。
【问题讨论】:
标签: minimatch
我需要使用 minimatch 来定位特定文件(在 TypeDoc 中排除 - 我不需要测试和其他一些文件)。
我需要排除 /test 目录中的所有文件以及所有目录中的所有 index.ts
试过**/+(index.ts|**/test/*.ts),但没用。
【问题讨论】:
标签: minimatch
尝试使用**/!(test)/!(index)*.ts 使用globster.xyz
【讨论】: