add netlify node option to increase old space size (#9859)

This commit is contained in:
Sylvia Moss 2020-09-01 11:24:30 +02:00 committed by GitHub
parent 24dbd0a28b
commit 9eaa2e17f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
environment = { HASHI_ENV = "production", NODE_ENV = "production" }
[context.deploy-preview]
environment = { HASHI_ENV = "staging", NODE_ENV = "production" }
environment = { HASHI_ENV = "staging", NODE_ENV = "production", NODE_OPTIONS = "--max_old_space_size=9999" }
[[headers]]
for = "/*"