Compatibility with @module-federation/nextjs-mf
Closed this issue · 5 comments
Hey,
How can i use with @module-federation/nextjs-mf
i m trying download types from remote on next build, but nothing happens
Sorry, I have no experience with @module-federation/nextjs-mf
I'll keep this thread open in case someone can help
If you find a solution, please share it in this thread
PRs are also anticipated
this occurs because on validation of the existence of the ModuleFederation plugin, in the case of @module-federation/nextjs-mf
, the plugin has another name: NextFederationPlugin
I think that a possible solution would be to allow the name of the plugin to be configurable, via options.
if you agree with this approach i can open a PR
Sorry for late reply, doesn't look clean, but if that's the only workaround then go ahead
I'm running into this as well. Could we provide an option to pass the name of the MF plugin in the constructor, or a reference to an instance of it?
Released with v1.14.0