Skip to content

Commit 7425939

Browse files
committed
fix: Fix type externals
1 parent b17fc91 commit 7425939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.types.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default rollup.defineConfig({
1919
if (/^proxy-polyfill/.test(source)) {
2020
return true
2121
}
22-
if (externals.some(external => source.startsWith(external))) {
22+
if (externals.some(external => source === external || source.startsWith(`${external}/`))) {
2323
return true
2424
}
2525
return false

0 commit comments

Comments
 (0)