diff --git a/.changeset/honest-items-happen.md b/.changeset/honest-items-happen.md new file mode 100644 index 000000000..350cc5895 --- /dev/null +++ b/.changeset/honest-items-happen.md @@ -0,0 +1,5 @@ +--- +"@callstack/repack": patch +--- + +Expose MF2 config property to external tooling diff --git a/packages/repack/src/plugins/ModuleFederationPluginV2.ts b/packages/repack/src/plugins/ModuleFederationPluginV2.ts index da3aeb2f8..5a7cb57b7 100644 --- a/packages/repack/src/plugins/ModuleFederationPluginV2.ts +++ b/packages/repack/src/plugins/ModuleFederationPluginV2.ts @@ -81,7 +81,7 @@ export interface ModuleFederationPluginV2Config * @category Webpack Plugin */ export class ModuleFederationPluginV2 implements RspackPluginInstance { - private config: MF.ModuleFederationPluginOptions; + public config: MF.ModuleFederationPluginOptions; private deepImports: boolean; constructor(pluginConfig: ModuleFederationPluginV2Config) {