Pages build preset
| Configuration option | Value |
|---|---|
| Production branch | main |
| Build command | npx gatsby build |
| Build directory | public |
| Configuration option | Value |
|---|---|
| Production branch | main |
| Build command | npx @cloudflare/next-on-pages@1 |
| Build directory | .vercel/output/static |
import { PagesBuildPreset } from "~/components"
<PagesBuildPreset framework="gatsby" /><PagesBuildPreset framework="next-js" />Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark