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
I've a project, which currently uses Webpack 5 Module Federation. I had an idea, to migrate to Module Federation 2.0, but as soon I switched import for ModuleFederationPlugin from webpack to @module-federation/enhanced/webpack I started getting various type errors such as the inferred type of 'something' cannot be named without a reference to '[email protected]/node_modules/reselect'.
Is there an upgrade guide somewhere? Hard to understand why this type issue occurs after switching imports.
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
-
Hello,
I've a project, which currently uses Webpack 5 Module Federation. I had an idea, to migrate to Module Federation 2.0, but as soon I switched import for
ModuleFederationPlugin
fromwebpack
to@module-federation/enhanced/webpack
I started getting various type errors such asthe inferred type of 'something' cannot be named without a reference to '[email protected]/node_modules/reselect'
.Is there an upgrade guide somewhere? Hard to understand why this type issue occurs after switching imports.
Beta Was this translation helpful? Give feedback.
All reactions