> For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/llms-full.txt.

# `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](https://mfdoctor.kevinbeier.com/1.0.0/suppressions.md).

## Sources

- [Official source](https://module-federation.io/configure/shared.html)
- [Official source](https://github.com/module-federation/vite)
