Remote entry tuples not supported? #12658
Labels
outdated
scope: angular
Issues related to Angular support in Nx
scope: react
Issues related to React support for Nx
type: bug
Current Behavior
According to this PR i should be able to use @nrwl/angular/module-federation/withModuleFederation with the following config (notice the remote tuples):
But for some reason when i am trying to build my app with the config above, i get this error:
Invalid static remotes configured
So, when it comes to remotes value, it seems that only string array is allowed instead of tuples. Any idea how can i achive dynamic remote entry filenames?
Expected Behavior
From what i understand from the PR i tagged above, the expected behavior is that i can provide custom remoteEntry URL for each one of my remote MFEs.
Steps to Reproduce
Just try using the config above with the latest nrwl version.
This issue can't be reproduced in nx-examples because there is not such a config in there.
Failure Logs
Environment
Result of nx report
Thanks in advance
The text was updated successfully, but these errors were encountered: