Build configuration. Ignored when mode is headless.
Type
Object
Properties
Command to build the site.
Appears in: build.
Deno version to use for the build.
Appears in: build.
Environment variables to set during the build process.
Appears in: build.
Hugo version to use for the build.
Appears in: build.
Include the .git folder in the build environment.
Appears in: build.
Command to install dependencies before building.
Appears in: build.
Disable automatic URL configuration for the SSG.
Appears in: build.
Node.js version to use for the build.
Appears in: build.
Path to the built site output directory.
Appears in: build.
Keep the output directory between builds instead of clearing it.
Appears in: build.
Newline-separated list of paths to preserve between builds.
Appears in: build.
Ruby version to use for the build.
Appears in: build.