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/rules/config/async-boundary-missing.md.

config/async-boundary-missing

  • Category: correctness
  • Default severity: error

Issue

A host entry that synchronously imports non-eager shared packages can hit RUNTIME-005 (loadShareSync) because Module Federation needs an async boundary before shared negotiation finishes.

How to fix it

Move app startup behind a dynamic import (for example import('./bootstrap')), enable experiments.asyncStartup, or mark those shared packages eager: true when intentional.

Suppress or retarget with rules["config/async-boundary-missing"] set to "off" or a severity — see Suppressions and allowlists.

Sources