Skip to content

Commit 64b17ff

Browse files
committed
increase node's heap allocation for Netlify builds to go through
1 parent 446c0d3 commit 64b17ff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
command = "npm run build-ci"
33
# skip build when changes are isolated to README.md or .all-contributorsrc
44
ignore = "git diff --quiet HEAD^ HEAD ':(exclude)README.md' ':(exclude).all-contributorsrc' "
5+
6+
[build.environment]
7+
NODE_OPTIONS = "--max-old-space-size=4096"
8+
59
[dev]
610
framework = "gatsby"
711
targetPort = 8000

0 commit comments

Comments
 (0)