[build.environment]
|
GO_VERSION = "1.26.5"
|
HUGO_VERSION = "0.164.0"
|
NODE_VERSION = "22.23.1"
|
URL = "https://composedocs.netlify.app/"
|
# TZ = "Europe/Oslo"
|
# Raise Node's heap for `tinacms build` indexing (default ~2 GB OOMs).
|
# Keep this UNDER the build instance's RAM (~3 GB on non-Enterprise) or the
|
# kernel OOM-killer fires instead. Raise if your plan has more build memory.
|
NODE_OPTIONS = "--max-old-space-size=2560"
|
|
[build]
|
publish = "public"
|
command = """\
|
tinacms build &&
|
git config core.quotepath false && \
|
hugo --gc --minify --baseURL "${URL}"
|
"""
|