Skip to main content
Module

x/lume/core/site.ts>SiteOptions

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface SiteOptions
import { type SiteOptions } from "https://deno.land/x/lume@v2.1.4/core/site.ts";

The options to configure the site build

Properties

cwd: string

The path of the current working directory

src: string

The path of the site source

dest: string

The path of the built destination

optional
emptyDest: boolean

Whether the empty folder should be emptied before the build

optional
preview: boolean

Whether the site is in preview mode

includes: string

The default includes path

location: URL

The site location (used to generate final urls)

prettyUrls: boolean

Set true to generate pretty urls (/about-me/)

The local server options

The local watcher options

components: ComponentsOptions

The components options