Make build Node options configurable
Some checks failed
Build Docker Image / build (push) Failing after 3m21s

This commit is contained in:
Ruslan Bakiev
2026-02-06 09:52:11 +07:00
parent 666423bcf4
commit b76c7fce94
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
"type": "module",
"private": true,
"scripts": {
"build": "NODE_OPTIONS='--max-old-space-size=4096' nuxt build",
"build": "NODE_OPTIONS=${NODE_OPTIONS:---max-old-space-size=4096} nuxt build",
"dev": "nuxt dev",
"start": "nuxt preview",
"generate": "nuxt generate",