Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 6.37 KB

README.md

File metadata and controls

61 lines (43 loc) · 6.37 KB

Module Federation Examples

This repository is to showcase examples on Webpack 5's new Module Federation can be used.

If you need support, consider looking at my sponsor profile https://github.com/sponsors/ScriptedAlchemy

Youtube Screencasts https://www.youtube.com/playlist?list=PLWSiF9YHHK-DqsFHGYbeAMwbd9xcZbEWJ

WIP info site https://module-federation.github.io/

Official Docs https://webpack.js.org/concepts/module-federation

Shim for partial Webpack 4 and non webpack users (needs update to work with 5.beta.17) https://gist.github.com/ScriptedAlchemy/d386a094832dbd9a04324862d26570e9

Original Webpack Issue https://github.com/webpack/webpack/issues/10352

Medium post Original Webpack Issue https://link.medium.com/xzFgBBtAx6

JSNation Presentation https://github.com/sokra/slides/blob/master/content/ModuleFederationWebpack5.md

Check out our book

Practical Module Federation Book We will be actively updating this book over the next year as we learn more about best practices and what issues people are running into with Module Federation, as well as with every release of Webpack as it moves towards a release candidate and release. So with your one purchase you are buying a whole year of updates.

Examples

Legend:

  • ⚠️: In Progress/Incomplete
  • 🔒: Depends on proprietary code that isn't free.

Notes

To run from a git checkout locally, remove all of the proprietary example directories and then run yarn at the repo root. You can then run yarn start from any of the non-proprietary examples.