Skip to content

FR: demonstrate Module Federation #150

@alexeagle

Description

@alexeagle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestexampleNew example or update to existing examplehelp wantedAspect isn't prioritizing this, but the community couldneed: fundingWe could prioritize this based on donation to https://opencollective.com/aspect-build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions