From 8bc89bbb0852e2d06f48c38e99a04ab3d0464be8 Mon Sep 17 00:00:00 2001 From: Beka Date: Thu, 6 Apr 2023 22:08:28 +0600 Subject: [PATCH] docs(core): fix module federation config example (#15349) --- .../packages/webpack/documents/webpack-config-setup.md | 2 +- docs/shared/packages/webpack/webpack-config-setup.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/generated/packages/webpack/documents/webpack-config-setup.md b/docs/generated/packages/webpack/documents/webpack-config-setup.md index 5ae9101402053..0c196dd13dc18 100644 --- a/docs/generated/packages/webpack/documents/webpack-config-setup.md +++ b/docs/generated/packages/webpack/documents/webpack-config-setup.md @@ -173,7 +173,7 @@ module.exports = composePlugins( // your options here }); - return merge(federatedModules(config, context), { + return merge(federatedModules(config, { options, context }), { // overwrite values here }); } diff --git a/docs/shared/packages/webpack/webpack-config-setup.md b/docs/shared/packages/webpack/webpack-config-setup.md index 5ae9101402053..0c196dd13dc18 100644 --- a/docs/shared/packages/webpack/webpack-config-setup.md +++ b/docs/shared/packages/webpack/webpack-config-setup.md @@ -173,7 +173,7 @@ module.exports = composePlugins( // your options here }); - return merge(federatedModules(config, context), { + return merge(federatedModules(config, { options, context }), { // overwrite values here }); }