File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @module-federation/runtime ' : patch
3
+ ' @module-federation/node ' : patch
4
+ ---
5
+
6
+ fix: clear globalLoading cache in node env
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ export const performReload = async (
153
153
gs . entryChunkCache . clear ( ) ;
154
154
}
155
155
156
- gs . __GLOBAL_LOADING_REMOTE_ENTRY__ = { } ;
157
156
//@ts -ignore
158
157
gs . __FEDERATION__ . __INSTANCES__ . map ( ( i : any ) => {
159
158
//@ts -ignore
Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ export function resetFederationGlobalInfo(): void {
113
113
CurrentGlobal . __FEDERATION__ . moduleInfo = { } ;
114
114
CurrentGlobal . __FEDERATION__ . __SHARE__ = { } ;
115
115
CurrentGlobal . __FEDERATION__ . __MANIFEST_LOADING__ = { } ;
116
+
117
+ Object . keys ( globalLoading ) . forEach ( ( key ) => {
118
+ delete globalLoading [ key ] ;
119
+ } ) ;
116
120
}
117
121
118
122
export function getGlobalFederationInstance (
You can’t perform that action at this time.
0 commit comments