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
publier buildRequirements
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
| Code | Meaning |
|---|---|
0 | Build succeeded. |
1 | Missing or invalid license token. |
5 | Build failed for another reason. |