Created
September 21, 2022 14:38
-
-
Save callstack-bot/4be57c16c85df2173015c693bb1566a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Repack.plugins.ModuleFederationPlugin({ | |
name: 'module1', | |
exposes: { | |
'./Root': './src/Root.tsx', | |
'./baz': './src/baz.ts', | |
}, | |
shared: { | |
react: { | |
...Repack.Federated.SHARED_REACT, | |
eager: STANDALONE, | |
}, | |
'react-native': { | |
...Repack.Federated.SHARED_REACT_NATIVE, | |
eager: STANDALONE, | |
requiredVersion: '0.68.2', | |
}, | |
}, | |
remotes: { | |
app1: 'app1@dynamic', | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment