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, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/de/rules/config/get-public-path-unused.md.

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.

config/get-public-path-unused

  • Kategorie: tooling
  • Standardschweregrad: info

Problem

getPublicPath has no effect on a consumer that exposes no modules.

So beheben Sie das Problem

Remove dead config or move it to the producer that owns the assets.

Suppress or retarget with rules["config/get-public-path-unused"] set to "off" or a severity — see Suppressions and allowlists.

Quellen