open-slide

open-slide build

Produce a static, deployable build.

open-slide build
# or
npm run build

Builds every deck under slides/ into a self-contained static site at dist/. The output has no server requirement — drop it on any static host.

Flags

FlagDefaultDescription
--out-dir <dir>distWrite the static build to a custom folder.

Output

dist/
├── index.html
├── assets/
│   └── ...hashed files...
└── ...

Configuration

Two open-slide.config.ts fields matter at build time:

  • For a public share, hide the slide browser and on-canvas UI with the build toggles — see Export.
  • If the build won't sit at the domain root (GitHub Pages project sites, a reverse-proxy folder), set base so asset URLs and navigation resolve against the deployed path — see Config.

On this page