polyglot-microfrontends / shared-dependencies

Shared dependencies
MIT License
18 stars 5 forks source link

shared-dependencies

CircleCI

What is this?

This is an example microfrontend repo demonstrating how to use single-spa. You can see the code running at https://polyglot.microfrontends.app. The full, deployed import map is visible at https://polyglot.microfrontends.app/importmap.json.

How does it work?

Full article

This repository contains an import map that controls the shared libraries between all microfrontends.

Whenever a pull request is merged to master, CircleCI deploys the import map. Deployments for this project are completely independent of deployments for any other module.

Adapting for your organization

Feel free to fork and modify any files you would like when doing a proof of concept for your organization.