We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fe0a72 commit 16ae4afCopy full SHA for 16ae4af
src/compiler/bundle/typescript-plugin.ts
@@ -88,10 +88,7 @@ export const resolveIdWithTypeScript = (config: d.ValidatedConfig, compilerCtx:
88
// this is probably a .d.ts file for whatever reason in how TS resolves this
89
// use this resolved file as the "importer"
90
const tsResolvedPath = tsResolved.resolvedModule.resolvedFileName;
91
- if (
92
- isString(tsResolvedPath) &&
93
- !isDtsFile(tsResolvedPath)
94
- ) {
+ if (isString(tsResolvedPath) && !isDtsFile(tsResolvedPath)) {
95
return tsResolvedPath;
96
}
97
0 commit comments