Skip to content

Commit ad485fe

Browse files
committed
chore: update
1 parent 53a8598 commit ad485fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-dts/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export async function redirectDtsImports(
243243
let redirectImportPath = importPath;
244244

245245
if (absoluteImportPath && redirect.path) {
246-
const isOutsideRootdir = !normalize(absoluteImportPath).startsWith(
246+
const isOutsideRootdir = !absoluteImportPath.startsWith(
247247
normalize(rootDir) + path.sep,
248248
);
249249

0 commit comments

Comments
 (0)