Deep-dive topics for users who need to understand or extend Sarde's internals.
- Asset Pipeline covers CSS/JS bundling with
esbuild, image optimization, and fingerprinting. - Build Pipeline explains the six-phase engine:
Initialize, Discover, Parse, Assemble, Render, Write. - Writing Plugins covers authoring custom plugins
using the four lifecycle hooks. - Dev Server explains live reload, CSS hot-swap, and
draft content handling.
Asset Pipeline
CSS/JS bundling with esbuild, image optimization, fingerprinting, and the responsive image pipeline.
Build Pipeline
The six-phase engine pipeline: Initialize, Discover, Parse, Assemble, Render, Write.
Writing Plugins
Author custom Sarde plugins using the four lifecycle hooks: ConfigSetup, ContentLoaded, BeforeRender, BuildDone.
Authoring External Plugins
Package a plugin.yaml manifest with assets and templates for Sarde sites to install
Dev Server
Dev server internals, WebSocket live reload, CSS hot-swap, and draft content handling.