diff --git a/.changeset/brave-readers-sleep.md b/.changeset/brave-readers-sleep.md deleted file mode 100644 index 2ddfddde5..000000000 --- a/.changeset/brave-readers-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@callstack/repack": patch ---- - -fix: expose MF2 plugin configuration for external tooling diff --git a/packages/repack/src/plugins/ModuleFederationPluginV2.ts b/packages/repack/src/plugins/ModuleFederationPluginV2.ts index 6b03bc6ba..da3aeb2f8 100644 --- a/packages/repack/src/plugins/ModuleFederationPluginV2.ts +++ b/packages/repack/src/plugins/ModuleFederationPluginV2.ts @@ -83,10 +83,8 @@ export interface ModuleFederationPluginV2Config export class ModuleFederationPluginV2 implements RspackPluginInstance { private config: MF.ModuleFederationPluginOptions; private deepImports: boolean; - public _options!: ModuleFederationPluginV2Config; constructor(pluginConfig: ModuleFederationPluginV2Config) { - this._options = pluginConfig; const { reactNativeDeepImports, ...config } = pluginConfig; this.config = config; this.deepImports = reactNativeDeepImports ?? true;