Skip to content

Commit

Permalink
fix(type-compiler): support windows reflection pattern matching
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Mar 6, 2024
1 parent aeda5a4 commit cec3146
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/type-compiler/src/config.ts
Expand Up @@ -158,6 +158,8 @@ function resolvePaths(baseDir: string, paths: any): void {
if (path.startsWith('./') || path.includes('/')) {
path = join(baseDir, path);
}
// ensure backslashes are forward slashes
path = path.replace(/\\/g, '/');
if (exclude) path = '!' + path;
paths[i] = path;
}
Expand Down

0 comments on commit cec3146

Please sign in to comment.