You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the top of the example code, there are comments said:
// You can use the runtime to load modules without depending on the build plugin
// When not using the build plugin, shared dependencies cannot be automatically configured
What does it mean exactly?
Suppose a modern.js host app (without using build plugin) specifies shared singleton dependency package SomePackage, when loading remote who also shares SomePackage as a singleton, could it work?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://module-federation.io/guide/basic/runtime.html#api
On the top of the example code, there are comments said:
What does it mean exactly?
Suppose a modern.js host app (without using build plugin) specifies shared singleton dependency package
SomePackage
, when loading remote who also sharesSomePackage
as a singleton, could it work?Beta Was this translation helpful? Give feedback.
All reactions