✨ Publier v1 is live — a polished docs platform built for the open web.
Skip to content

publier build

Produce a production build in dist/.

Runs the production build, emitting static HTML, JS, CSS, and assets to dist/. A valid license token is required.

Usage

Terminal window
publier build

Requirements

publier build requires a valid license token. See the token model for where Publier looks for it.

Output

dist/ contains everything you need to deploy:

  • Static HTML for every page
  • Bundled JS and CSS
  • A full-text search index under dist/pagefind/

Point any static host at dist/ and you’re done. See the deployment guide for ready-made recipes.

Exit codes

CodeMeaning
0Build succeeded.
1Missing or invalid license token.
5Build failed for another reason.