Recent searches

in

build

On this page

Build configuration. Ignored when mode is headless.

Type#

Object

Properties#

build_command — string#

Command to build the site.

Appears in: build.

deno_version — string#

Deno version to use for the build.

Appears in: build.

Environment variables to set during the build process.

Appears in: build.

hugo_version — string#

Hugo version to use for the build.

Appears in: build.

include_git — boolean#

Include the .git folder in the build environment.

Appears in: build.

install_command — string#

Command to install dependencies before building.

Appears in: build.

Disable automatic URL configuration for the SSG.

Appears in: build.

node_version — string#

Node.js version to use for the build.

Appears in: build.

output_path — string#

Path to the built site output directory.

Appears in: build.

preserve_output — boolean#

Keep the output directory between builds instead of clearing it.

Appears in: build.

preserved_paths — string#

Newline-separated list of paths to preserve between builds.

Appears in: build.

ruby_version — string#

Ruby version to use for the build.

Appears in: build.

Open in a new tab