diff --git a/scripts/build.sh b/scripts/build.sh index 71c5775e0..594a6560a 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 &&