@builder.io/qwik
Version:
An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.
29 lines (28 loc) • 853 B
JSON
{
"description": "Cloudflare Pages",
"scripts": {
"build.server": "qwik check-client src dist && vite build -c adapters/cloudflare-pages/vite.config.ts",
"deploy": "wrangler pages deploy ./dist",
"serve": "wrangler pages dev ./dist --compatibility-flags=nodejs_als"
},
"devDependencies": {
"wrangler": "^3.0.0"
},
"__qwik__": {
"priority": 40,
"displayName": "Adapter: Cloudflare Pages",
"docs": [
"https://qwik.dev/deployments/cloudflare-pages/",
"https://developers.cloudflare.com/pages"
],
"nextSteps": {
"title": "Next Steps",
"lines": [
"Now you can build and deploy to Cloudflare Pages with:",
"",
"- pnpm run build: production build for Cloudflare",
"- pnpm run deploy: it will use the Cloudflare CLI to deploy your site"
]
}
}
}