external-remotes-plugin icon indicating copy to clipboard operation
external-remotes-plugin copied to clipboard

Compatibility with @module-federation/enhanced

Open sudhakar-selva opened this issue 1 year ago • 0 comments

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...
    }
})

sudhakar-selva avatar Feb 29 '24 13:02 sudhakar-selva

Did you got the solution for this?

AdarshJais avatar Aug 07 '24 13:08 AdarshJais

Yes @AdarshJais - https://github.com/module-federation/core/issues/2125 (via new plugin system)

sudhakar-selva avatar Aug 07 '24 13:08 sudhakar-selva