|
| 1 | +/** |
| 2 | + * For more details on how to configure Wrangler, refer to: |
| 3 | + * https://developers.cloudflare.com/workers/wrangler/configuration/ |
| 4 | + */ |
| 5 | +{ |
| 6 | + "$schema": "node_modules/wrangler/config-schema.json", |
| 7 | + "name": "qwik-docs", |
| 8 | + "compatibility_date": "2025-09-27", |
| 9 | + "assets": { |
| 10 | + // The path to the directory containing the `index.html` file to be served at `/` |
| 11 | + "directory": "/dist", |
| 12 | + }, |
| 13 | + "observability": { |
| 14 | + "enabled": true, |
| 15 | + }, |
| 16 | + /** |
| 17 | + * Smart Placement |
| 18 | + * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement |
| 19 | + */ |
| 20 | + // "placement": { "mode": "smart" } |
| 21 | + /** |
| 22 | + * Bindings |
| 23 | + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including |
| 24 | + * databases, object storage, AI inference, real-time communication and more. |
| 25 | + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ |
| 26 | + */ |
| 27 | + /** |
| 28 | + * Environment Variables |
| 29 | + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables |
| 30 | + */ |
| 31 | + // "vars": { "MY_VARIABLE": "production_value" } |
| 32 | + /** |
| 33 | + * Note: Use secrets to store sensitive data. |
| 34 | + * https://developers.cloudflare.com/workers/configuration/secrets/ |
| 35 | + */ |
| 36 | + /** |
| 37 | + * Static Assets |
| 38 | + * https://developers.cloudflare.com/workers/static-assets/binding/ |
| 39 | + */ |
| 40 | + // "assets": { "directory": "./public/", "binding": "ASSETS" } |
| 41 | + /** |
| 42 | + * Service Bindings (communicate between multiple Workers) |
| 43 | + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings |
| 44 | + */ |
| 45 | + // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] |
| 46 | +} |
0 commit comments