Skip to content

Commit

Permalink
fix: Make sure tsconfig.json contains correct paths on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jespertheend committed Apr 4, 2023
1 parent 8d84f9d commit 0dceb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ ${importmapMessage}
// If the resolved location doesn't point to something inside
// the .denoTypes directory, we don't need to do anything.
if (!vendorResolvedSpecifier) continue;

tsConfigPaths.push([importSpecifier, vendorResolvedSpecifier.pathname]);
const pathname = fromFileUrl(vendorResolvedSpecifier);
tsConfigPaths.push([importSpecifier, pathname]);
}

for (const [specifier, path] of fetchedExactTypeModulesPathMappings) {
Expand Down

0 comments on commit 0dceb98

Please sign in to comment.