Skip to content

Commit

Permalink
Merge pull request #15 from Aar-if/main
Browse files Browse the repository at this point in the history
configuration changes
  • Loading branch information
itsvick authored Oct 8, 2024
2 parents 0ccab3d + 8ea86c5 commit b5093df
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,24 @@ const nextConfig = {
name: 'editor',
filename: 'static/chunks/remoteEntry.js',
remotes: remotes(isServer),
shared: {
'@mui/material': {
singleton: true,
requiredVersion: false,
},
'@mui/icons-material': {
singleton: true,
requiredVersion: false,
},
},
exposes: {
"./Index": "./src/pages/index.tsx",
"./Create": "/src/pages/workspace/content/create/index.tsx",
"./Content": "/src/pages/workspace/content/allContents/index.tsx",
"./Draft": "/src/pages/workspace/content/draft/index.tsx",
"./Publish": "/src/pages/workspace/content/publish/index.tsx",
"./Submitted": "/src/pages/workspace/content/submitted/index.tsx",
"./Editor": "/src/pages/Editor.tsx",
},
})
);
Expand Down

0 comments on commit b5093df

Please sign in to comment.