> 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.

# `config/unique-name-mismatch`

- Category: **reliability**
- Default severity: **info**

## Issue

Webpack/Rspack `output.uniqueName` namespaces the compiler runtime. When it disagrees with Module Federation `name` on the same compiler, chunk-loading globals and the container id can diverge. This stays info because uniqueName is often set equal on purpose, and a mismatch can be intentional. Multi-plugin compilers are skipped because uniqueName is compiler-scoped.

## How to fix it

Set `output.uniqueName` to the same value as Module Federation `name`. Omit uniqueName when you do not need an override.

Suppress or retarget with `rules["config/unique-name-mismatch"]` set to `"off"` or a severity, see [Suppressions and allowlists](https://mfdoctor.kevinbeier.com/suppressions.md).

## Sources

- [Official source](https://module-federation.io/configure/name.html)
- [Official source](https://webpack.js.org/configuration/output/#outputuniquename)
- [Official source](https://rspack.rs/config/output#outputuniquename)
