Awesome explanation of this, currently we use the import-map but this might be a better option.

We use multiple repos (per domain) and the import-map-deployer to patch the "main" import-map.json when we release assets.

How would you handle this workflow with federated modules?

Would we need a "federated module deployer" that could "patch" the index.html and set any remote entries for all relevant apps?

I guess in theory I like this idea, I'm just not sure how it translates to the "recommended" workflow that Joel put together when he created single-spa which works very well.

Zachary Leighton
Zachary Leighton

Written by Zachary Leighton

Architect at Tipalti living in Israel trying not to spill tahini on the keyboard

Responses (1)