Skip to content

Commit 3d4dbfd

Browse files
[core] Update monorepo (#3424)
Co-authored-by: MUI bot <[email protected]>
1 parent cd4b546 commit 3d4dbfd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/next.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ const MONOREPO_PACKAGES = {
1919
};
2020

2121
export default withDocsInfra({
22-
experimental: {
23-
workerThreads: true,
24-
cpus: 3,
25-
},
2622
transpilePackages: [
27-
'@mui/monorepo',
2823
// TODO, those shouldn't be needed in the first place
24+
'@mui/monorepo', // Migrate everything to @mui/docs until the @mui/monorepo dependency becomes obsolete
2925
'@mui/x-charts', // Fix ESM module support https://github.com/mui/mui-x/issues/9826#issuecomment-1658333978
30-
'@mui/docs', // Fix trailingSlash support https://github.com/mui/mui-toolpad/pull/3301#issuecomment-2054213837
26+
// Fix trailingSlash support https://github.com/mui/mui-toolpad/pull/3301#issuecomment-2054213837
27+
// Migrate everything from @mui/monorepo to @mui/docs
28+
'@mui/docs',
3129
],
3230
// Avoid conflicts with the other Next.js apps hosted under https://mui.com/
3331
assetPrefix: process.env.DEPLOY_ENV === 'development' ? undefined : '/toolpad',
@@ -43,6 +41,8 @@ export default withDocsInfra({
4341
webpack: (config, options) => {
4442
return {
4543
...config,
44+
// TODO, this shouldn't be needed in the first place
45+
// Migrate everything from @mui/monorepo to @mui/docs and embed @mui/internal-markdown in @mui/docs
4646
resolveLoader: {
4747
...config.resolveLoader,
4848
alias: {

0 commit comments

Comments
 (0)