@mui/internal-docs-infra 0.12.1-canary.10 → 0.12.1-canary.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-docs-infra",
|
|
3
|
-
"version": "0.12.1-canary.
|
|
3
|
+
"version": "0.12.1-canary.11",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI Infra - internal documentation creation tools.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -804,5 +804,5 @@
|
|
|
804
804
|
"bin": {
|
|
805
805
|
"docs-infra": "./cli/index.mjs"
|
|
806
806
|
},
|
|
807
|
-
"gitSha": "
|
|
807
|
+
"gitSha": "bdd286eb27de9a0b2494f66b1b5b4712b28e2b1b"
|
|
808
808
|
}
|
|
@@ -212,6 +212,12 @@ export function withDeploymentConfig(nextConfig) {
|
|
|
212
212
|
experimental: {
|
|
213
213
|
scrollRestoration: true,
|
|
214
214
|
workerThreads: false,
|
|
215
|
+
// Run each webpack compilation in a separate, disposable worker process so
|
|
216
|
+
// its memory is released before static generation instead of accumulating
|
|
217
|
+
// in the long-lived build process. This is off by default whenever a custom
|
|
218
|
+
// `webpack` config is present (Next resolves the `undefined` default to
|
|
219
|
+
// `false` when `config.webpack` is set), so it must be enabled explicitly.
|
|
220
|
+
webpackBuildWorker: true,
|
|
215
221
|
...(process.env.CI ? {
|
|
216
222
|
cpus: process.env.NEXT_PARALLELISM ? parseInt(process.env.NEXT_PARALLELISM, 10) : os.availableParallelism()
|
|
217
223
|
} : {}),
|