This project is built on React, Module Federation, and Rspack. It is designed to reproduce our shared dependencies issue. To accomplish this, we have created a new external package called external-package-version-display, which is used in all of the project MFEs.
0
stars
1
forks
source link
Singleton shown as false in __FEDERATION__ object #1
The React dependency is set to
singleton: true
in MF, but in the FEDERATION object, it appears assingleton: false
. MF Hostreact
singleton set: https://github.com/idonava/base-mf-app/blob/e90d51c2ca4d9dd4c42d2eff68ed9b6616fe540f/apps/host/rsbuild.config.ts#L68-L71FEDERATION snapshot