Skip to content

Commit 3cfb5b1

Browse files
Thegrep01theGrep01
andauthored
refactor: update module federation names for consistency across applications (#92)
Co-authored-by: theGrep01 <[email protected]>
1 parent 0558038 commit 3cfb5b1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/example-host/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const config = {
2121
module.exports = withModuleFederation(
2222
mergeConfig(getDefaultConfig(__dirname), config),
2323
{
24-
name: 'example-host',
24+
name: 'MFExampleHost',
2525
remotes: {
2626
mini: 'mini@http://localhost:8082/mf-manifest.json',
2727
nestedMini: 'nestedMini@http://localhost:8083/mf-manifest.json',

apps/example-mini/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const config = {
2020
module.exports = withModuleFederation(
2121
mergeConfig(getDefaultConfig(__dirname), config),
2222
{
23-
name: 'example-mini',
23+
name: 'MFExampleMini',
2424
filename: 'mini.bundle',
2525
exposes: {
2626
'./info': './src/info.tsx',

apps/example-nested-mini/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const config = {
2020
module.exports = withModuleFederation(
2121
mergeConfig(getDefaultConfig(__dirname), config),
2222
{
23-
name: 'example-nested-mini',
23+
name: 'MFExampleNestedMini',
2424
filename: 'nestedMini.bundle',
2525
exposes: {
2626
'./nestedMiniInfo': './src/nested-mini-info.tsx',

0 commit comments

Comments
 (0)