Deploy a Qwik app on Light Cloud - detected from the Vite setup, built to dist as a static site, and served from the global CDN.
Deploy Qwik
Qwik is detected from its dependencies and Vite config, and deploys as a static site: npm run build fills dist/, and the CDN serves it with free bandwidth. Qwik's resumability works from plain static files - the HTML carries the serialized state and hydrates nothing.
Build#
- Output directory:
dist- override in Build settings if your config moves it. - Install: follows your lockfile - see How detection works.
Environment variables#
Static builds run with the environment's variables set. Qwik inlines PUBLIC_* values into the client build, per environment.
Warning
Inlined values ship to every browser - never put secrets behind PUBLIC_.
Server-side Qwik City?#
Endpoints and server-rendered routes need a running server - deploy that shape as a Node container via your own start setup, or keep the site static and put the API in its own backend app.