From e93bd6e8a841fd5de7428a115c460b458ae87364 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Tue, 24 Dec 2024 20:55:52 +0800 Subject: [PATCH] f --- src/import.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/import.ts b/src/import.ts index c5fb1ff..e7209be 100644 --- a/src/import.ts +++ b/src/import.ts @@ -168,6 +168,8 @@ export function importResolve(filepath: string, options?: ImportResolveOptions) } if (isESM) { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore moduleFilePath = fileURLToPath(import.meta.resolve(filepath)); } else { const cwd = process.cwd();