Skip to content

Commit 568080f

Browse files
committed
Fix #3
1 parent 097e043 commit 568080f

File tree

1 file changed

+2
-2
lines changed
  • packages/rollup-plugin-tsconfig-paths

1 file changed

+2
-2
lines changed

packages/rollup-plugin-tsconfig-paths/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export function tsConfigPaths({
2929
})
3030
return
3131
},
32-
async resolveId(request: string, importer?: string) {
32+
async resolveId(request, importer, options) {
3333
if (!importer || request.startsWith("\0")) {
3434
return null
3535
}
3636

3737
const moduleName = handler?.(request, importer)
3838
if (!moduleName) {
39-
return this.resolve(request, importer, { skipSelf: true })
39+
return this.resolve(request, importer, { skipSelf: true, ...options })
4040
}
4141

4242
log(LogLevel.Debug, `${request} -> ${moduleName}`)

0 commit comments

Comments
 (0)