-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Module Federation 2 Support in Vite #16635
Comments
There's a plugin for it https://github.com/originjs/vite-plugin-federation |
That plugin lacks support for module-federation 2.0 and is broken in multiple aspects, causing frustration. |
Module federation is something we had discussed often, but no one on the team is familiar and uses it, hence it's not something we will implement. I'd suggest creating a new plugin if the existing one is unmaintained. |
It is incompatible with react and they don't fix it |
+1 |
The new bundler that is being developed for Vite, Rolldown, will have module federation built-in. |
Description
As a developer using Vite I would like to request support for Module Federation 2.
https://module-federation.io/blog/announcement.html
Module Federation is a crucial feature for enhancing the efficiency and simplicity of developing large applications, as well as facilitating team collaboration. However, Vite currently lacks proper support for Module Federation.
The existing plugin for Module Federation in Vite is not actively maintained and issues are beginning to accumulate. This limitation hinders developers who rely on Module Federation for their projects from effectively utilizing Vite.
Suggested solution
Given the importance of Module Federation in modern web development workflows, we kindly request the Vite team to assume the ownership of the implementation of a Module Federation 2 plugin. By doing so you will empower developers to build more robust and scalable applications while reinforcing Vite's position as a core tool in the JavaScript ecosystem.
Alternative
The alternative to lacking support for Module Federation in Vite is to abandon Vite and use RsBuild, which currently offers better support for this feature.
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: