npm.io
0.1.4 • Published 1 month ago

@backstage/module-federation-common

Licence
Apache-2.0
Version
0.1.4
Deps
4
Size
35 kB
Vulns
0
Weekly
0
Stars
33.8K

@backstage/module-federation-common

This package provides a helper library for module federation, enabling a consistent management of shared dependencies in both the module federation host (frontend application) at runtime, and remote modules at build-time through the CLI.

It provides:

  • TypeScript types for both host and remote shared dependency definitions,
  • a default list of shared dependencies (React, React Router, Material-UI, etc.) for both the host and remote modules,
  • utilities used by the CLI to resolve versions of the shared dependencies for the host at build-time,
  • utilities available for the frontend application to provide the list of resolved shared dependencies at runtime.

Keywords