Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core.ts>SiteEvent

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface SiteEvent
implements Event
Re-export
import { type SiteEvent } from "https://deno.land/x/lume@v1.16.1/core.ts";

Custom events for site build

Properties

The event type

optional
files: Set<string>

Available only in "beforeUpdate" and "afterUpdate" contains the files that were changed

optional
page: Page

Available only in "beforeRenderOnDemand" contains the page that will be rendered

optional
pages: Page[]

Available only in "afterBuild", "beforeRender", "afterRender" and "afterUpdate" contains the list of pages that have been saved

optional
staticFiles: StaticFile[]

Available only in "afterBuild" and "afterUpdate" contains the list of static files that have been copied