From c1c679593eda4b141e07e82c896b7e728ff4ec5b Mon Sep 17 00:00:00 2001 From: Piotr Pekala Date: Thu, 26 Sep 2019 13:16:43 -0700 Subject: [PATCH] Fix for appveyor --- .appveyor.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 0948a8d3..7d581d5a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -18,6 +18,7 @@ install: - yarn install build_script: + - cmd: set NODE_OPTIONS=--max-old-space-size=1028 - yarn buildforelectron - "%PYTHON%\\python.exe -m pip install -r scripts\\requirements.txt" - "%PYTHON%\\python.exe scripts\\build.py download -a" diff --git a/package.json b/package.json index 54891ea4..6c9717d8 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "start": "ng serve", "startforelectron": "ng serve --configuration=electronDev", "build": "ng build", - "buildforelectron": "node --max_old_space_size=8192 ng build --configuration=electronProd", + "buildforelectron": "ng build --configuration=electronProd", "buildforgithub": "ng build --configuration=githubProd", "test": "ng test", "lint": "ng lint",