diff --git a/package.json b/package.json index 598644b3..16c2fc83 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "MIT", "author": "zetachain", "scripts": { - "build": "yarn clean && next build", + "build": "NODE_OPTIONS=--max-old-space-size=6144 yarn clean && next build", "postbuild": "next-sitemap", "dev": "next dev -p 3001", "lint:fix": "npx eslint --ext .js,.jsx,.ts,.tsx --fix ./src",