Allow Rslib to create Module Federation remote module.
What does the proposed API look like?
I have created a demo (https://github.com/chenjiahan/rslib-mf) to try out the ModuleFederationPlugin in Rslib, and I find that the format: 'esm' breaks the output of Module Federation, so Rslib should provide a new format for Module Federation, such as format: 'module-federation' or format: 'none'.
What problem does this feature solve?
Allow Rslib to create Module Federation remote module.
What does the proposed API look like?
I have created a demo (https://github.com/chenjiahan/rslib-mf) to try out the
ModuleFederationPlugin
in Rslib, and I find that theformat: 'esm'
breaks the output of Module Federation, so Rslib should provide a new format for Module Federation, such asformat: 'module-federation'
orformat: 'none'
.