Skip to content

Commit 5170ecc

Browse files
author
Mark Molinaro
authored
feature: allow passing through custom options to resolve
1 parent 866f32f commit 5170ecc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export function resolve(
7676
let foundNodePath: string | null | undefined
7777
try {
7878
foundNodePath = tsResolve(mappedPath ?? source, {
79+
...options,
7980
extensions: options.extensions ?? defaultExtensions,
8081
basedir: path.dirname(path.resolve(file)),
8182
packageFilter: options.packageFilter ?? packageFilterDefault,

0 commit comments

Comments
 (0)