diff --git a/docs/next.config.mjs b/docs/next.config.mjs index f2c9f2e325d0..fba33f8df392 100644 --- a/docs/next.config.mjs +++ b/docs/next.config.mjs @@ -32,6 +32,10 @@ const chartsPkg = loadPkg('./packages/x-charts'); const treeViewPkg = loadPkg('./packages/x-tree-view'); export default withDocsInfra({ + experimental: { + workerThreads: true, + cpus: 3, + }, // Avoid conflicts with the other Next.js apps hosted under https://mui.com/ assetPrefix: process.env.DEPLOY_ENV === 'development' ? undefined : '/x', env: {