-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
webpack.config.js
shared: {
react: {eager: true, singleton: true, requiredVersion: '^16.13.1'},
'react-dom': {
eager: true,
singleton: true,
requiredVersion: '^16.13.1',
},
'react-router-dom': {requiredVersion: '^5.1.2'},
'mobx-react-lite': {requiredVersion: '^1.5.2'},
mobx: {requiredVersion: '^5.15.4'},
axios: {requiredVersion: '^0.19.2'},
}
when i dynamic loading remote module, it throw error:
Then i find the error is the 'factory' is not a function, it return a Promise
and then i find the step of register shared module, it use 'webpack_require.e', not use 'webpack_require', it will return a Promise
How can I solve this problem ?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested


