Skip to content

Commit

Permalink
fix: pass custom extensions to esm resolver (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-dc authored Aug 3, 2023
1 parent 670c1f2 commit ec773dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jiti.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export default function createJITI(
resolved = resolvePathSync(id, {
url: _url,
conditions,
extensions: opts.extensions,
});
} catch (error) {
err = error;
Expand Down

0 comments on commit ec773dc

Please sign in to comment.