fix(react): mf remote name incorrect with directory option (#17430)

Co-authored-by: vhu@twilio.com <Huli4946145>
This commit is contained in:
Victoria Hu 2023-06-22 11:30:53 -07:00 committed by GitHub
parent e21077f815
commit 09deeef328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.