Skip to content

Commit 860008a

Browse files
authored
fix: add shareScope attribute to usedRemotes in virtualRemoteEntry (#275)
1 parent b425fe5 commit 860008a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/virtualModules/virtualRemoteEntry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export function generateLocalSharedImportMap() {
9696
name: ${JSON.stringify(remote.name)},
9797
type: ${JSON.stringify(remote.type)},
9898
entry: ${JSON.stringify(remote.entry)},
99+
shareScope: ${JSON.stringify(remote.shareScope) ?? 'default'},
99100
}
100101
`;
101102
})

0 commit comments

Comments
 (0)