Skip to content

build

Generates a static site into dist/.

bash
npx @slide-spec/cli build

Flags

FlagDescription
[project-root] (positional)Target project. Defaults to current directory
--deployment-url <url>Public URL for sitemap generation

Output

  • dist/ - static HTML, CSS, and JS. Host anywhere.
  • robots.txt - always generated
  • sitemap.xml - generated when a deployment URL is provided via --deployment-url or site.yaml's deployment_url field (with sitemap_enabled: true)