Repository navigation
Issues with name in ModuleFederationPlugin #1493
|
As far as I understand, during the loading of remote module ( say pointing to A bunch of questions for me to clarify this behaviour and potential issues with it.
|
Replies: 4 comments 1 reply
|
|
Are you sure Scenario for 4: host app consuming |
|
No the string is "someglobal_v@http" I'm representing a key value pair when configuring the remote {name: remote_v1} Consuming {remotes:{remoteName:"remote_1@http"}} You're loading two remotes, with the same global namespace. As represented by the global@url syntax. So the last remote will overwrite the first because the containers are both named the same. Name needs to be unique and you need to reference that name on the global @ Yes I'm sure. I have deployed examples and versioned remotes powered by GUIs that let me interchange any deployed remote with anything else |
|
The name conflicts that i'm having isn't the remote name, or module name. Instead it's the source code name: For instance, This would create a confusion for the plugin, so it'll continue hit the cache even when the What is the best way we don't end up with the source code name conflicts? |
remote) isn't always where its located in memory. I might also usepromise new Promiseso I would be resolving my own global back to the interface.