Skip to content

Deployment & Cloudflare Pages

Flixel-Pixi games and documentation sites are 100% statically buildable, making them deployable to static hosts such as Cloudflare Pages, GitHub Pages, Vercel, or Netlify.


Deploying to Cloudflare Pages

Configuration Settings

SettingValue
Framework presetNone / VitePress
Build commandnpm run docs:build
Build output directorydocs/.vitepress/dist
Node.js Version22 or 24 (set env NODE_VERSION: 22)

Environment Variables

No required backend API keys or secrets are necessary for static documentation and game hosting.


Building Locally

To build the static site locally for verification:

bash
# Generate API documentation and build static site
npm run docs:build

# Preview static distribution locally
npm run docs:preview

Released under the MIT License.