diff --git a/frontend/package.json b/frontend/package.json index d67ac0605e..0554fd3bdf 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,7 +4,8 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build", + "build": "export NODE_OPTIONS=--max_old_space_size=4096 && vue-cli-service build", + "build-win": "SET NODE_OPTIONS=--max_old_space_size=4096 && vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": {