fix(module-federation): remove trailing slash from @mui/material/styles shared dependency key

The shared dependency key `@mui/material/styles/` (with trailing slash) caused
module resolution failures because MUI's package.json exports map only defines
`./styles`, not `./styles/`. This resulted in errors like:

  Package subpath './styles/' is not defined by "exports" in
  @mui/material/package.json

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-25 10:51:57 +01:00
parent b42fcdca2e
commit 0cb56465dd
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
Fixes the `@mui/material/styles` shared dependency key by removing a trailing slash that caused module resolution failures with MUI package exports.