Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support for Module Federation #212

Closed
Tracked by #46
chenjiahan opened this issue Sep 18, 2024 · 1 comment · Fixed by #240
Closed
Tracked by #46

[Feature]: Support for Module Federation #212

chenjiahan opened this issue Sep 18, 2024 · 1 comment · Fixed by #240
Assignees

Comments

@chenjiahan
Copy link
Member

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 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'.

@Timeless0911
Copy link
Contributor

I prefer format: 'module-federation', since format: 'none' seems a bit ambiguous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants