Skip to content

Commit c9b67d4

Browse files
committed
fix: windows issue in dts redirect
1 parent d16af1d commit c9b67d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugin-dts/src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ export async function redirectDtsImports(
243243
let redirectImportPath = importPath;
244244

245245
if (absoluteImportPath && redirect.path) {
246+
console.log('absoluteImportPath: ', absoluteImportPath);
247+
console.log('rootDir: ', rootDir);
246248
const isOutsideRootdir = !absoluteImportPath.startsWith(
247249
rootDir + path.sep,
248250
);

0 commit comments

Comments
 (0)