Skip to content

Conversation

@frassinier
Copy link

@frassinier frassinier commented Mar 8, 2023

If you work with some modules from localhost and others from remotes, this PR is made for you.
Using remote modules makes shared singletons come from the remote, too, since it's the last to be loaded.

By forcing the version to 0, the production build will try to load the latest version, and localhost can load their shared dependencies (React in dev mode or our shared libraries)

More info here module-federation/module-federation-examples#2311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant