Skip to content

Commit

Permalink
docs(core): fix module federation config example (#15349)
Browse files Browse the repository at this point in the history
  • Loading branch information
GraxMonzo authored Apr 6, 2023
1 parent 7a4adf5 commit 8bc89bb
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

1 comment on commit 8bc89bb

@vercel
Copy link

@vercel vercel bot commented on 8bc89bb Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.