Recent searches

in

build

On this page

Build configuration. Ignored when mode is headless.

Type

Object

Properties

build_commandstring#

Command to build the site.

Appears in: build.

deno_versionstring#

Deno version to use for the build.

Appears in: build.

Environment variables to set during the build process.

Appears in: build.

hugo_versionstring#

Hugo version to use for the build.

Appears in: build.

include_gitboolean#

Include the .git folder in the build environment.

Appears in: build.

install_commandstring#

Command to install dependencies before building.

Appears in: build.

Disable automatic URL configuration for the SSG.

Appears in: build.

node_versionstring#

Node.js version to use for the build.

Appears in: build.

output_pathstring#

Path to the built site output directory.

Appears in: build.

preserve_outputboolean#

Keep the output directory between builds instead of clearing it.

Appears in: build.

preserved_pathsstring#

Newline-separated list of paths to preserve between builds.

Appears in: build.

ruby_versionstring#

Ruby version to use for the build.

Appears in: build.

Open in a new tab