Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications
1.27k
stars
184
forks
source link
When modifying files (occasionally) or rsbuild.config.ts (must be), the generated product has problems #2596
Open
jameszhang2020 opened 3 weeks ago
Describe the bug
I have shared multiple packages in the module federation host, and the configuration is as follows.
On first startup, it will generate a set of configurations that can be found in the entry file (index.js), like this:
However, when I edited a ts file or rsbuild.config.ts file, saved it, and then checked it again, I found that it became empty, as shown below:
Other remotes will depend on these shared packages, so this
initializeSharingData.scopeToSharingDataMapping
is very importantReproduction
N/A
Used Package Manager
yarn
System Info
Validations