diff --git a/package.json b/package.json index 6ed71dcbf..6bf4f01a3 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ }, "scripts": { "start": "cross-env IMAGE_INLINE_SIZE_LIMIT=1000 GENERATE_SOURCEMAP=false react-app-rewired start", - "build": "cross-env IMAGE_INLINE_SIZE_LIMIT=1000 GENERATE_SOURCEMAP=false DISABLE_ESLINT_PLUGIN=true react-app-rewired build", + "build": "cross-env IMAGE_INLINE_SIZE_LIMIT=1000 NODE_OPTIONS=--max-old-space-size=8192 GENERATE_SOURCEMAP=false DISABLE_ESLINT_PLUGIN=true react-app-rewired build", "test": "react-app-rewired test --watchAll", "test:ci": "react-app-rewired test --watchAll=false", "ts-check": "tsc --noEmit",