Skip to content

Commit

Permalink
fix: remoteRuntime container missing (#5351)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyFish6952 authored Jul 6, 2022
1 parent c0bfade commit 823504d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default (api: IPluginAPI, { remoteName, bootstrap, remoteEntry, compilePa
babelPlugins: Array.isArray(modifyConfig.babelPlugins) ? modifyConfig.babelPlugins.concat(remotePlugins) : remotePlugins,
moduleFederation: {
name: 'app',
remoteType: 'window',
remotes: [remoteName],
remotes: { [remoteName]: `${remoteName}@/${runtimePublicPath}/${remoteEntry}` },
shared: [
'react',
'react-dom',
Expand Down

0 comments on commit 823504d

Please sign in to comment.