Frontend Architecture · Flashcard

What is Webpack Module Federation?

  • AA runtime mechanism that lets separately built and deployed apps share code with one another
  • BA build-time plugin that merges every one of the apps into one single bundle compiled together
  • CA CSS methodology for sharing design tokens across many independently styled applications today
  • DA server-side proxy that stitches the HTML fragments from each app into one combined response

Why this is the answer

Module Federation is a runtime mechanism that lets separately built and deployed apps share code with one another. It is not a build-time merge into one bundle (the opposite), not a CSS token methodology, and not a server-side fragment proxy.

Official docs
Study in Gnoseed →