-
-
Notifications
You must be signed in to change notification settings - Fork 19
FR: demonstrate Module Federation #150
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestexampleNew example or update to existing exampleNew example or update to existing examplehelp wantedAspect isn't prioritizing this, but the community couldAspect isn't prioritizing this, but the community couldneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-buildWe could prioritize this based on donation to https://opencollective.com/aspect-build
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestexampleNew example or update to existing exampleNew example or update to existing examplehelp wantedAspect isn't prioritizing this, but the community couldAspect isn't prioritizing this, but the community couldneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-buildWe could prioritize this based on donation to https://opencollective.com/aspect-build
https://webpack.js.org/concepts/module-federation/ aka. Micro-Frontends
is a way to break up a monolith app into several, which can then still be loaded at runtime into a Single Page Application.
This is typically used when several teams collaborate to build one app, and they either don't want to bundle their code together with other teams, or the scale is so large that memory and time required for the bundling step are unacceptable.
https://github.com/ScriptedAlchemy is an expert/evangelist of this approach, but not really involved in Bazel IIUC.
https://github.com/Aghassi/rules_spa is an example repo showing a POC of how to apply the concept.