Skip to content

Commit 0b99018

Browse files
committed
chore: format code
1 parent ac91a1d commit 0b99018

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/rspack/src/container/ModuleFederationPlugin.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
}
3030
export type RuntimePlugins = string[] | [string, Record<string, unknown>][];
3131

3232
export 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
}

0 commit comments

Comments
 (0)