I'm not sure about the status of this project and if this feature is out of the scope, but this PR tries to add support for NodeFederationPlugin (NodeFederationPlugin and UniversalFederationPlugin).
The only thing needed to make this work with these plugins is fixing how to get the plugin options, as ModuleFederationPlugin uses _options while NodeFederationPlugin and UniversalFederationPlugin use options.
The code still needs some minor changes, but it works. Maybe you can propose a better approach.
Maybe we should propose using _options in NodeFederationPlugin/UniversalFederationPlugin to be aligned with ModuleFederationPlugin :thinking:
I'm not sure about the status of this project and if this feature is out of the scope, but this PR tries to add support for NodeFederationPlugin (NodeFederationPlugin and UniversalFederationPlugin).
The only thing needed to make this work with these plugins is fixing how to get the plugin options, as ModuleFederationPlugin uses
_options
while NodeFederationPlugin and UniversalFederationPlugin useoptions
.The code still needs some minor changes, but it works. Maybe you can propose a better approach.
Maybe we should propose using
_options
in NodeFederationPlugin/UniversalFederationPlugin to be aligned with ModuleFederationPlugin :thinking: