Skip to content

Commit 894b18e

Browse files
fix: cwd while resolving tsconfig include
1 parent e9bceed commit 894b18e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ function initMappers(options: InternalResolverOptions) {
464464
...defaultIgnore,
465465
],
466466
absolute: true,
467+
cwd: path.dirname(tsconfigResult.path),
467468
})
468469
: []),
469470
]

0 commit comments

Comments
 (0)