Skip to content

Commit d6ef23c

Browse files
authored
fix: preserve rolldown resolution if an id is externalized (#213)
1 parent 5f4cdec commit d6ef23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function createDtsResolvePlugin({
6363
)
6464
if (rolldownResolution?.external) {
6565
debug('Rolldown marked dts import as external:', id)
66-
return external
66+
return rolldownResolution
6767
}
6868

6969
const dtsResolution = await resolveDtsPath(

0 commit comments

Comments
 (0)