DEV Community

Discussion on: Angular dynamic modules at runtime with Module Federation

Collapse
 
seanperkins profile image
Sean Perkins

Excellent question, I am not currently aware of any examples of cross-repo MFE; although in concept they should work the same.

The usage of mono-repos, only simplifies set-up and maintenance; by making use of schematics to generate webpack configs and establish the remote entries.

You should be able to do this all manually, pointing your remote entry to whatever port your other repository/project is on. The handshake for dependencies should also be the same, since it's evaluated at runtime against the generated bundles (independent of anything mono-repo specific).