Skip to content

Commit

Permalink
fix: expose MF2 plugin config to external tooling (#799)
Browse files Browse the repository at this point in the history
* fix: expose mf2 config to external tooling

* chore: add changeset
  • Loading branch information
jbroma authored Nov 19, 2024
1 parent 0fb3075 commit f801083
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-items-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@callstack/repack": patch
---

Expose MF2 config property to external tooling
2 changes: 1 addition & 1 deletion packages/repack/src/plugins/ModuleFederationPluginV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f801083

Please sign in to comment.