Skip to content

Commit 3ca0f73

Browse files
authored
[core] Increase node memory limit on Netlify build (#41111)
1 parent 4b14966 commit 3ca0f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "MUI Team",
66
"license": "MIT",
77
"scripts": {
8-
"build": "rimraf docs/export && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 next build --profile && pnpm build-sw",
8+
"build": "rimraf docs/export && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 next build --profile && pnpm build-sw",
99
"build:clean": "rimraf .next && pnpm build",
1010
"build-sw": "node ./scripts/buildServiceWorker.js",
1111
"dev": "next dev",

0 commit comments

Comments
 (0)