@@ -56,7 +56,7 @@ const federationGlobal = getFederationGlobalScope(RuntimeGlobals);
56
56
const onceForCompiler = new WeakSet < Compiler > ( ) ;
57
57
const onceForCompilerEntryMap = new WeakMap < Compiler , string > ( ) ;
58
58
59
- class ModuleFederationRuntimePlugin {
59
+ class FederationRuntimePlugin {
60
60
options ?: moduleFederationPlugin . ModuleFederationPluginOptions ;
61
61
entryFilePath : string ;
62
62
bundlerRuntimePath : string ;
@@ -163,7 +163,7 @@ class ModuleFederationRuntimePlugin {
163
163
if ( ! this . options ?. virtualRuntimeEntry ) {
164
164
const containerName = this . options . name ;
165
165
const hash = createHash (
166
- `${ containerName } ${ ModuleFederationRuntimePlugin . getTemplate (
166
+ `${ containerName } ${ FederationRuntimePlugin . getTemplate (
167
167
compiler ,
168
168
this . options ,
169
169
this . bundlerRuntimePath ,
@@ -173,7 +173,7 @@ class ModuleFederationRuntimePlugin {
173
173
entryFilePath = path . join ( TEMP_DIR , `entry.${ hash } .js` ) ;
174
174
} else {
175
175
entryFilePath = `data:text/javascript;charset=utf-8;base64,${ pBtoa (
176
- ModuleFederationRuntimePlugin . getTemplate (
176
+ FederationRuntimePlugin . getTemplate (
177
177
compiler ,
178
178
this . options ,
179
179
this . bundlerRuntimePath ,
@@ -202,7 +202,7 @@ class ModuleFederationRuntimePlugin {
202
202
mkdirpSync ( fs , TEMP_DIR ) ;
203
203
fs . writeFileSync (
204
204
filePath ,
205
- ModuleFederationRuntimePlugin . getTemplate (
205
+ FederationRuntimePlugin . getTemplate (
206
206
compiler ,
207
207
this . options ,
208
208
this . bundlerRuntimePath ,
@@ -429,4 +429,4 @@ class ModuleFederationRuntimePlugin {
429
429
}
430
430
}
431
431
432
- export default ModuleFederationRuntimePlugin ;
432
+ export default FederationRuntimePlugin ;
0 commit comments