| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository is to showcase examples of how Webpack 5's new Module Federation can be used.
| Rspack | |
|---|---|
| Modern.js | |
| Garfish | |
| Oxc | |
| If you need support, consider looking at my sponsor profile https://github.com/sponsors/ScriptedAlchemy | For companies that require consultations, contact me on twitter or email (on github profile) |
| Content | |
| Youtube Screencasts | https://www.youtube.com/playlist?list=PLWSiF9YHHK-DqsFHGYbeAMwbd9xcZbEWJ |
| New Info site | https://module-federation.io/ |
| Official Docs | https://webpack.js.org/concepts/module-federation |
| Original Webpack Issue | https://github.com/webpack/webpack/issues/10352 |
| Medium post | https://link.medium.com/xzFgBBtAx6 |
| JSNation Presentation | https://github.com/sokra/slides/blob/master/content/ModuleFederationWebpack5.md |
| Post about Dynamic Remotes | https://h3manth.com/posts/dynamic-remotes-webpack-module-federation/ |
https://module-federation.github.io/
https://www.youtube.com/playlist?list=PLWSiF9YHHK-DqsFHGYbeAMwbd9xcZbEWJ
https://scriptedalchemy.medium.com/
Legend:
- ⚠️: In Progress/Incomplete
- 🔒: Depends on access controled source
- 💰: commercially avaliable
Module Federation Examples covered by e2e tests with Cypress framework, more info about structure and configuration 👉 here 👈
| 1 Hour group consultation | $100 |
|---|---|
| 30 Min 1:1 consultation | $60 |
| 15 Min 1:1 consultation | $30 |
| Bespoke API modifications and hands on code | $300-$500/hr |
The examples in this repository leverage pnpm and workspaces. To run from a git checkout locally, remove all of the proprietary example directories, ensure you have pnpm installed and run install pnpm i at the repo root. You can then run pnpm start from any of the non-proprietary examples. Some examples may use a different command such as "dev" or "serve".
Module federation will work with any type of file that youre able to import, that Webpack understands how to process. It is not a JS only, or React only feature. Images, CSS, JSON, WASM, and anything else can be federated.
You decided to contribute to this project? Great, thanks a lot for pushing it!
| Back | FazBrowse Home | New Git URL |