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/eager-tree-shaking-conflict.md.

config/eager-tree-shaking-conflict

  • Category: correctness
  • Default severity: error

Issue

Eager modules live in the initial entry and cannot use the on-demand shared tree-shaking path.

How to fix it

Choose eager loading for small dependencies or tree shaking for larger libraries.

Suppress or retarget with rules["config/eager-tree-shaking-conflict"] set to "off" or a severity — see Suppressions and allowlists.

Sources