Developer Docs

Documentation for Static Dist Client

This section is a structured placeholder for full technical documentation. The examples below show the intended developer experience: npm-based CLI installation, authenticated deploys, and cache-friendly URLs.

Terminal window showing example Static Dist Client commands

Quick start

Install the CLI

The Static Dist Client CLI is distributed as an npm package so it fits naturally into Node.js environments.

npm install -g @staticdist/cli
sdc login --token $STATIC_DIST_TOKEN
sdc deploy ./dist --project my-app --env production

Guides (coming soon)

Planned documentation set

  • Webpack & code splitting

    How to publish `output` folders with stable chunk names, long-term caching, and safe purges after blue/green deploys.

  • Vite production builds

    Deploying `dist/` with hashed assets, optional sourcemap hosting policies, and preview channels for QA.

  • Rollup & libraries

    Distributing ESM and CJS bundles with correct MIME types and cache busting for semver releases.

  • REST API reference

    Authentication headers, rate limits, pagination for analytics exports, and purge endpoints.