For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/index.md.
MFDoctor
Diagnostics for federation projects

Post-build findings for Module Federation projects.

MFDoctor

@tonoizer/mfdoctor is a post-build diagnostic tool for Module Federation projects. It finds configuration, sharing, manifest, runtime, and output problems while the build still has enough evidence to explain them.

Register MFDoctor next to your federation plugin. Clean builds stay quiet; findings include a rule, impact, suggested fix, and a direct documentation link. Errors fail CI only after every finding has been collected.

MFDoctor runs in Node after emit and adds nothing to the browser bundle. Start with Setup, CI, the rule catalog, and Limitations.

Start

Extending Doctor as a library author? Identity, waivers, graph, and capture contracts live under Library / extension.

Project

Inspired by the diagnostic depth of Rsdoctor and the focused workflow of React Doctor, adapted for Module Federation.