> 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/transform-import-share-conflict`

- Category: **correctness**
- Default severity: **warning**

## Issue

transformImport (or equivalent) can rewrite packages that are also shared, bypassing or duplicating the share scope.

## How to fix it

Remove the rewrite, exclude the package from shared, or allowlist intentional bypasses via `allowPackages`.

Suppress or retarget with `rules["config/transform-import-share-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://modernjs.dev/guides/basic-features/alias.html)
- [Official source](https://rsbuild.rs/config/source/transform-import)
