-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm having an error about Minified React error.
This error only occur in the host app.
Here is the configs federation of the host app.
`
federation({
name: 'app-container',
filename: 'remoteEntry.js',
manifest: true,
shareStrategy: 'loaded-first',
dev: mode === 'development',
dts: false,
remotes: {
'app-shared': {
type: 'module',
name: 'app-shared',
entry: `${APP_SHARED_DOMAIN}/remoteEntry.js`,
entryGlobalName: 'app-shared',
shareScope: 'default',
},
'bo-wmt': {
type: 'module',
name: 'bo-wmt',
entry: `${BO_WMT_DOMAIN}/remoteEntry.js`,
entryGlobalName: 'bo-wmt',
shareScope: 'default',
}
},
exposes: {
'./store': './src/core/store/expose',
'./i18n': './src/core/i18n',
'./api': './src/core/services/api.ts',
'./hooks': './src/core/hooks/expose',
'./providers': './src/core/providers/message-provider.tsx',
'./pages': './src/core/pages/expose',
},
shared: {
react: {
singleton: true,
strictVersion: false,
},
'react-dom': {
singleton: true,
strictVersion: false,
},
zustand: {
singleton: true,
},
'react-router': {
singleton: true,
},
'@emotion/react': {
singleton: true,
},
'@emotion/styled': {
singleton: true,
},
},
}),`
Version
^1.11.0
Reproduction
private repo
Relevant log output
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working