Merge pull request #32996 from backstage/rugvip/fix-mui-styles-shared-dep-key
module-federation-common: fix trailing slash in MUI styles shared dependency key
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/module-federation-common': patch
|
||||
---
|
||||
|
||||
Fixed the `@mui/material/styles` shared dependency key by removing a trailing slash that caused module resolution failures with MUI package exports.
|
||||
@@ -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.
|
||||
@@ -165,7 +165,7 @@ describe('dynamicFrontendFeaturesLoader', () => {
|
||||
shareConfig: { singleton: true, requiredVersion: '*', eager: true },
|
||||
},
|
||||
{
|
||||
name: '@mui/material/styles/',
|
||||
name: '@mui/material/styles',
|
||||
version: '5.16.14',
|
||||
lib: async () => ({ default: {} }),
|
||||
shareConfig: { singleton: true, requiredVersion: '*', eager: true },
|
||||
|
||||
@@ -55,7 +55,7 @@ const defaultSharedDependencies = {
|
||||
// MUI v5
|
||||
// not setting import: false for MUI packages as this
|
||||
// will break once Backstage moves to BUI
|
||||
'@mui/material/styles/': {
|
||||
'@mui/material/styles': {
|
||||
host: {},
|
||||
remote: {},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user