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

<!-- mfdoctor locale: de. Technische Bezeichner, CLI-Flags, Regel-IDs, Links und Codebeispiele bleiben byte-kompatibel mit dem kanonischen englischen Vertrag. -->

> Dies ist die deutsche mfdoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

# `shared/eager-without-singleton`

- Kategorie: **performance**
- Standardschweregrad: **warning**

## Problem

An eager non-singleton can add copies to initial chunks without guaranteeing reuse.

## So beheben Sie das Problem

Set `singleton: true` on that shared package when it holds framework state, or drop `eager: true` so the runtime can load a single copy.

Suppress or retarget with `rules["shared/eager-without-singleton"]` set to `"off"` or a severity, see [Suppressions and allowlists](https://mfdoctor.kevinbeier.com/de/suppressions.md).

## Quellen

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