File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,13 @@ const MONOREPO_PACKAGES = {
19
19
} ;
20
20
21
21
export default withDocsInfra ( {
22
- experimental : {
23
- workerThreads : true ,
24
- cpus : 3 ,
25
- } ,
26
22
transpilePackages : [
27
- '@mui/monorepo' ,
28
23
// 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
29
25
'@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' ,
31
29
] ,
32
30
// Avoid conflicts with the other Next.js apps hosted under https://mui.com/
33
31
assetPrefix : process . env . DEPLOY_ENV === 'development' ? undefined : '/toolpad' ,
@@ -43,6 +41,8 @@ export default withDocsInfra({
43
41
webpack : ( config , options ) => {
44
42
return {
45
43
...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
46
46
resolveLoader : {
47
47
...config . resolveLoader ,
48
48
alias : {
You can’t perform that action at this time.
0 commit comments