File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/rspack/src/container Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ export interface ModuleFederationPluginOptions
2121 implementation ?: string ;
2222 shareStrategy ?: "version-first" | "loaded-first" ;
2323 manifest ?:
24- | boolean
25- | Omit <
26- ModuleFederationManifestPluginOptions ,
27- "remoteAliasMap" | "globalName" | "name" | "exposes" | "shared"
28- > ;
24+ | boolean
25+ | Omit <
26+ ModuleFederationManifestPluginOptions ,
27+ "remoteAliasMap" | "globalName" | "name" | "exposes" | "shared"
28+ > ;
2929}
3030export type RuntimePlugins = string [ ] | [ string , Record < string , unknown > ] [ ] ;
3131
3232export class ModuleFederationPlugin {
33- constructor ( private _options : ModuleFederationPluginOptions ) { }
33+ constructor ( private _options : ModuleFederationPluginOptions ) { }
3434
3535 apply ( compiler : Compiler ) {
3636 const { webpack } = compiler ;
@@ -348,8 +348,8 @@ function getDefaultEntryRuntime(
348348 IS_BROWSER
349349 ? MF_RUNTIME_CODE
350350 : compiler . webpack . Template . getFunctionContent (
351- require ( "./moduleFederationDefaultRuntime.js" )
352- )
351+ require ( "./moduleFederationDefaultRuntime.js" )
352+ )
353353 ] . join ( ";" ) ;
354354 return `@module-federation/runtime/rspack.js!=!data:text/javascript,${ content } ` ;
355355}
You can’t perform that action at this time.
0 commit comments