Skip to content

Commit

Permalink
docs(core): fix module federation config example
Browse files Browse the repository at this point in the history
  • Loading branch information
GraxMonzo authored and jaysoo committed Apr 6, 2023
1 parent fa349ac commit c3e3fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ module.exports = composePlugins(
// your options here
});

return merge(federatedModules(config, context), {
return merge(federatedModules(config, { options, context }), {
// overwrite values here
});
}
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/packages/webpack/webpack-config-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ module.exports = composePlugins(
// your options here
});

return merge(federatedModules(config, context), {
return merge(federatedModules(config, { options, context }), {
// overwrite values here
});
}
Expand Down

0 comments on commit c3e3fa8

Please sign in to comment.