From 4d8cb349f3c257350ca1a0026f06f5df5f676bc1 Mon Sep 17 00:00:00 2001 From: Lucas Janon Date: Fri, 2 Aug 2024 16:23:50 -0300 Subject: [PATCH] Increase Node memory allocation --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",