From 909c3bc3f88479785d7a9ecc18eeddffe07f0710 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 10 Feb 2023 15:02:43 +0100 Subject: [PATCH] Attempt to fix the build --- scripts/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index 71c5775e04..594a6560ad 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -9,6 +9,8 @@ rm -rf .cache mkdir dist 2> /dev/null mkdir dist/assets 2> /dev/null +export NODE_OPTIONS="--max-old-space-size=8192" + # This script ends every line with '&&' to chain everything. A failure will thus stop the build npm run generate:editor-layer-index && npm run generate &&