DEV Community

okmttdhr
okmttdhr

Posted on • Updated on

webpack 5 Module Federation in 3 minutes

Module Federation allows a JavaScript application to dynamically load code from another application and  in the process, share dependencies.

Motivation

Multiple separate builds should form a single application. These separate builds should not have dependencies between each other, so they can be developed and deployed individually.

This is often known as Micro-Frontends, but is not limited to that.

examples

issue and pull request

code

and more

Top comments (0)