☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

build

Table of contents

Description:

Build configuration. Ignored when mode is headless.

Type:
Object
Properties:

Command to build the site.

Deno version to use for the build.

Environment variables to set during the build process.

Hugo version to use for the build.

Include the .git folder in the build environment.

Command to install dependencies before building.

Disable automatic URL configuration for the SSG.

Node.js version to use for the build.

Path to the built site output directory.

Keep the output directory between builds instead of clearing it.

Newline-separated list of paths to preserve between builds.

Ruby version to use for the build.

Examples:
Open in a new tab