Skip to content

Commit

Permalink
fix(tsImport): resolve specifiers that are absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
fardjad committed May 5, 2024
1 parent 96bc596 commit 2a65b01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/esm/hook/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export const resolve: resolve = async (
const isPath = (
specifier.startsWith(fileProtocol)
|| isRelativePathPattern.test(specifier)
|| path.isAbsolute(specifier)
);

// bare specifier
Expand Down

0 comments on commit 2a65b01

Please sign in to comment.