## Current Behavior Our Module Federation Config allows passing tuple remotes: ```js remotes: [ ["remote1", "http://localhost:4201/remoteEntry.js"] ] ``` However, if the Module Federation system is expecting the remotes to be loaded as Global variables in the browser, then we erroneously pass just the url to webpack/rspack's `extractUrlAndGlobal` method. This expects a string of format `name@url`. For non-tuple remote configurations, we create this correctly. However, when a tuple is passed, we simply return the url. ## Expected Behavior We should ensure that the string is massaged to `name@url` even when a tuple is provided.
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a Module Federation plugin for Nx.
Module Federation allows developers to share code between deployed applications easier and makes team collaboration more efficient.
To learn more about Module Federation, check out the official documentation.
{{content}}