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.