We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a8598 commit ad485feCopy full SHA for ad485fe
packages/plugin-dts/src/utils.ts
@@ -243,7 +243,7 @@ export async function redirectDtsImports(
243
let redirectImportPath = importPath;
244
245
if (absoluteImportPath && redirect.path) {
246
- const isOutsideRootdir = !normalize(absoluteImportPath).startsWith(
+ const isOutsideRootdir = !absoluteImportPath.startsWith(
247
normalize(rootDir) + path.sep,
248
);
249
0 commit comments