diff --git a/packages/webpack/src/utils/module-federation/get-remotes-for-host.ts b/packages/webpack/src/utils/module-federation/get-remotes-for-host.ts index 2b84a32a7df7b..39495d730a9b2 100644 --- a/packages/webpack/src/utils/module-federation/get-remotes-for-host.ts +++ b/packages/webpack/src/utils/module-federation/get-remotes-for-host.ts @@ -103,7 +103,7 @@ export function getRemotes( ); const knownDynamicRemotes = dynamicRemotes.filter( - (r) => !remotesToSkip.has(r) + (r) => !remotesToSkip.has(r) && context.projectGraph.nodes[r] ); logger.info(