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
It seems that using subpath exports for the shared library is doing something strange with dependencies or path resolution, because importing them isn't returning a singleton.
I've made the changes here and everything compiles just fine, but App1 doesn't work.
App2 shows "Welcome Susan", but App1 shows "Welcome, No name provided".
Is this a module federation limitation, or is there something else going on here?
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
-
It seems that using subpath exports for the shared library is doing something strange with dependencies or path resolution, because importing them isn't returning a singleton.
I've made the changes here and everything compiles just fine, but App1 doesn't work.
App2 shows "Welcome Susan", but App1 shows "Welcome, No name provided".
Is this a module federation limitation, or is there something else going on here?
Beta Was this translation helpful? Give feedback.
All reactions