Skip to content

Commit 78014e3

Browse files
committed
fix: Fix build externals
1 parent fcc6300 commit 78014e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default rollup.defineConfig({
2424
if (isResolved) {
2525
return false
2626
}
27-
if (externals.some(external => source.startsWith(external))) {
27+
if (externals.some(external => source === external || source.startsWith(`${external}/`))) {
2828
return true
2929
}
3030
return false

0 commit comments

Comments
 (0)