Skip to content

Commit 16ae4af

Browse files
committedMar 12, 2025
prettier
1 parent 8fe0a72 commit 16ae4af

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎src/compiler/bundle/typescript-plugin.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ export const resolveIdWithTypeScript = (config: d.ValidatedConfig, compilerCtx:
8888
// this is probably a .d.ts file for whatever reason in how TS resolves this
8989
// use this resolved file as the "importer"
9090
const tsResolvedPath = tsResolved.resolvedModule.resolvedFileName;
91-
if (
92-
isString(tsResolvedPath) &&
93-
!isDtsFile(tsResolvedPath)
94-
) {
91+
if (isString(tsResolvedPath) && !isDtsFile(tsResolvedPath)) {
9592
return tsResolvedPath;
9693
}
9794
}

0 commit comments

Comments
 (0)
Failed to load comments.