Skip to content
@module-federation

Module Federation

Official plugins designed and developed by the authors of Webpack Module Federation

👋 Welcome to the home of Module Federation

Webpack Module federation was created by Zackary Jackson and now officially part of webpack. This GitHub organization provides additional resources for folks looking to learn more about Module Federation.

You're also welcome to explore the brand-new Module Federation website and documentation which is a valuable resource for both beginners and experienced developers. It is designed to be your go-to resource for all things Module Federation and more content is on the way!

What is Module Federation?

Webpack Module Federation (MF) is a feature of webpack that allows for the dynamic loading of multiple versions of a module from multiple independent build systems.

This allows for the creation of microfrontend-style applications, where multiple systems can share code and be dynamically updated without having to rebuild the entire application.

It also enables distributed teams and applications with different release cycles to share code without needing to wait for all systems to agree to and deploy a single shared version of a module.

Additionally, it allows for code-splitting based on routes and other criteria, which can improve performance.

Sponsors

🙌 Become a Sponsor

What Tooling exists for MF

  • Medusa - Tool for visualizing and managing MF remotes and versioning

More Resources

Highlighted Repositories

  • Examples An entire open source learna workspace for examples on many frameworks including Next.js, React, Angular, Vue and more.
  • Universe A collection of tools, plugins, and utilities for Module Federation.

MF Book

Practical Module Federation - The official book on Webpack Module Federation by Jack Herrington & Zack Jackson "Practical Module Federation" is the first, and only, book on Webpack 5's innovative new live code sharing mechanism. It walks you through everything you need to do to start with Module Federation. It covers the internal implementation of Module Federation, and how Module Federation fits with other sharing options. The book also covers many practical topics include; state sharing across shared code, different deployment options, sharing non-view related code, writing your code to be resilient to code and network failures, and so much more.

MF & MFE YouTube Videos

MFE General

Next

React

Angular

Consulting / Guidance

Valor Software Logo Light on Dark

Valor Software Logo Light on Dark

Module Federation is proudly supported by Valor Software as official partners. Together with Zack Jackson and other contributors to Module Federation we are proud to offer guidance, consulting, and development assistance in all things Module Federation. If you'd like to have a quick 15-minute call with Zack Jackson and Valor Software to share what you're doing please use the following Calendly Link to book some time.

Other types of assistance Valor Software can offer:

  • Custom Nx generators to speed adoption of Module Federation
  • Enhancements / Bug-fix / Prioritization for OSS libraries
  • Architecture Consulting
  • Team Augmentation

Roadmap

We have created a discussion category for tracking RFC's here.

Please assist us in welcoming @viktoriialurie, the new Product Owner for Module Federation!

Social links

We are excited to announce the launch of our new Discord community for Module Federation! This space will be used to discuss and share knowledge about the latest advancements in module federation and how to use it effectively. See you there!

Pinned Loading

  1. core core Public

    Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications

    TypeScript 1.6k 243

  2. module-federation-examples module-federation-examples Public

    Implementation examples of module federation , by the creators of module federation

    JavaScript 5.7k 1.8k

  3. aegis-host aegis-host Public

    This is the ÆGIS federated application host. Federated components are independently deployable, written by multiple teams in multiple languages, and loaded from multiple repos and network locations…

    JavaScript 237 15

Repositories

Showing 10 of 40 repositories
  • core Public

    Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications

    module-federation/core’s past year of commit activity
    TypeScript 1,551 MIT 243 39 20 Updated Nov 27, 2024
  • vite Public

    Vite Plugin for Module Federation

    module-federation/vite’s past year of commit activity
    TypeScript 345 MIT 30 29 (6 issues need help) 4 Updated Nov 26, 2024
  • module-federation-examples Public

    Implementation examples of module federation , by the creators of module federation

    module-federation/module-federation-examples’s past year of commit activity
    JavaScript 5,663 MIT 1,751 29 11 Updated Nov 25, 2024
  • module-federation-design-resources Public

    Design resources for Module federation

    module-federation/module-federation-design-resources’s past year of commit activity
    0 0 0 0 Updated May 21, 2024
  • actions Public Forked from web-infra-dev/actions

    Module Federation actions

    module-federation/actions’s past year of commit activity
    TypeScript 0 4 0 0 Updated May 6, 2024
  • aegis Public

    Module federation for the backend. Aegis core lib. Regain control of your microservices by consolidating them into one or more shared processes without loosing deployment or language independence. Eliminate the need for deployment automation. Let services deploy themselves.

    module-federation/aegis’s past year of commit activity
    JavaScript 147 Apache-2.0 14 11 (3 issues need help) 13 Updated Mar 30, 2024
  • federation-dashboard Public

    Dashboard service to command, control, and visualize module federation based systems

    module-federation/federation-dashboard’s past year of commit activity
    JavaScript 19 Apache-2.0 5 11 11 Updated Mar 26, 2024
  • automatic-vendor-federation Public

    Utility to enable automatic vendor sharing within bundles using Module Federation

    module-federation/automatic-vendor-federation’s past year of commit activity
    JavaScript 74 MIT 7 3 14 Updated Mar 24, 2024
  • apollo-gateway Public

    Webpack Module Federation Apollo based gateway

    module-federation/apollo-gateway’s past year of commit activity
    JavaScript 5 MIT 0 1 12 Updated Mar 21, 2024
  • module-federation.github.io Public

    Website for Module Federation Org

    module-federation/module-federation.github.io’s past year of commit activity
    JavaScript 34 6 6 19 Updated Mar 13, 2024