external-remotes-plugin
external-remotes-plugin copied to clipboard
Compatibility with @module-federation/enhanced
Issue We are trying to move to @module-federation/enhanced. Our current version uses federation plugin exposed by webpack with external-remotes-plugin. However, external-remotes-plugin seems to not be working for @module-federation/enhanced. Is it possible to achieve similar functionality with @module-federation/enhanced, or is there any other recommended approach for migration?
Thanks!
new ModuleFederationPlugin({
name: 'host',
filename: 'host.remoteEntry.js',
remotes: {
app: 'app@[appPortalUrl]/app.remoteEntry.js',
// other remotes...
}
})
Did you got the solution for this?
Yes @AdarshJais - https://github.com/module-federation/core/issues/2125 (via new plugin system)