From 09deeef328441b5b0da0599f1112d7082753226d Mon Sep 17 00:00:00 2001 From: Victoria Hu Date: Thu, 22 Jun 2023 11:30:53 -0700 Subject: [PATCH] fix(react): mf remote name incorrect with directory option (#17430) Co-authored-by: vhu@twilio.com --- packages/react/src/generators/remote/remote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/generators/remote/remote.ts b/packages/react/src/generators/remote/remote.ts index a4ba8e44afe36..e90596858a4be 100644 --- a/packages/react/src/generators/remote/remote.ts +++ b/packages/react/src/generators/remote/remote.ts @@ -50,7 +50,7 @@ export async function remoteGenerator(host: Tree, schema: Schema) { tasks.push(initAppTask); if (schema.host) { - updateHostWithRemote(host, schema.host, options.name); + updateHostWithRemote(host, schema.host, options.projectName); } // Module federation requires bootstrap code to be dynamically imported.