diff --git a/src/jiti.ts b/src/jiti.ts index 5212135d..cdaa2a3a 100644 --- a/src/jiti.ts +++ b/src/jiti.ts @@ -173,6 +173,7 @@ export default function createJITI( resolved = resolvePathSync(id, { url: _url, conditions, + extensions: opts.extensions, }); } catch (error) { err = error;