Module Federation Universal (Vite, Rollup, Turbopack, Native, esBuild) #444
Replies: 6 comments 6 replies
-
Did some research on existing efforts: Vite
esBuild
Native Federation |
Beta Was this translation helpful? Give feedback.
-
It's already covered more or less here: https://www.npmjs.com/package/@softarc/native-federation But I believe we need to see what turbopack will bring to us |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I've made the following bundler-agnostic plugin to share federated TypeScript types. Currently I've tested it with WebPack and Vite, but should work out of the box with esbuild and rollup. |
Beta Was this translation helpful? Give feedback.
-
I am very happy to see that the capabilities of MF are getting stronger and stronger (Vite, Rollup, Turbopack, Native, es, ssr, ts...), it is indeed not just a micro-frontend, and I look forward to MF becoming more and more mainstream in the future. |
Beta Was this translation helpful? Give feedback.
-
I created the rollup plugin for module federation: https://github.com/MadaraUchiha-314/rollup-plugin-module-federation |
Beta Was this translation helpful? Give feedback.
-
When using native federation, CommonJS modules pose challenges. Many npm libraries rely on CommonJS packages, which creates obstacles for migrating to native federation. Last month, I attempted to migrate an application from Webpack Module Federation to native federation to address Webpack’s slow build times. However, I couldn’t complete the migration due to unresolved runtime dependencies with It seems like there should be some solution for this. |
Beta Was this translation helpful? Give feedback.
-
Short Description
Being able to combine containers generated by different build systems.
Longer Description
Module Federation is about helping teams to ship code faster, and more reliably and to organize the development effort around multiple, autonomous teams. Module Federation Universal takes it to the next stage by allowing aspects of the application to be brought together and decoupled from their individual build toolsets. There is also an emphasis on using native APIs as well to create a standards-based approach.
Business Value
As companies make acquisitions or teams experiment with different technologies it is important to be able to incorporate the artifacts of those teams into the overall stack as quickly as possible. Through leveraging, Module Federation and its decoupling from build system teams will have more flexibility and lower times to cohesion.
Acceptance Criteria
Beta Was this translation helpful? Give feedback.
All reactions