From 6b50b0aea6840e173a35606a3dfe18c530da0c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Leuth=C3=A4user?= <1417198+max-leuthaeuser@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:40:04 +0100 Subject: [PATCH] Set heap size --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 28074ac..9401174 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "yargs": "^17.7.2" }, "scripts": { - "postinstall": "pkg . --no-bytecode --no-native-build --public --compress GZip --targets node18-linux-x64,node18-linux-arm64,node18-macos-x64,node18-win-x64,node18-macos-arm64" + "postinstall": "pkg . --options max-old-space-size=8192 --no-bytecode --no-native-build --public --compress GZip --targets node18-linux-x64,node18-linux-arm64,node18-macos-x64,node18-win-x64,node18-macos-arm64" }, "engines": { "node": ">=16.0.0"