webtools

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

wrangler.jsonc (1795B)


      1 /**
      2  * For more details on how to configure Wrangler, refer to:
      3  * https://developers.cloudflare.com/workers/wrangler/configuration/
      4  */
      5 /**
      6  * For more details on how to configure Wrangler, refer to:
      7  * https://developers.cloudflare.com/workers/wrangler/configuration/
      8  */
      9 {
     10 	"$schema": "node_modules/wrangler/config-schema.json",
     11 	"name": "webtools",
     12 	"main": ".open-next/worker.js",
     13 	"compatibility_date": "2026-07-29",
     14 	"compatibility_flags": [
     15 		"nodejs_compat",
     16 		"global_fetch_strictly_public"
     17 	],
     18 	"assets": {
     19 		"binding": "ASSETS",
     20 		"directory": ".open-next/assets"
     21 	},
     22 	"images": {
     23 		// Enable image optimization
     24 		// see https://opennext.js.org/cloudflare/howtos/image
     25 		"binding": "IMAGES"
     26 	},
     27 	"services": [
     28 		{
     29 			// Self-reference service binding, the service name must match the worker name
     30 			// see https://opennext.js.org/cloudflare/caching
     31 			"binding": "WORKER_SELF_REFERENCE",
     32 			"service": "webtools"
     33 		}
     34 	],
     35 	"observability": {
     36 		"enabled": true
     37 	},
     38 	"upload_source_maps": true
     39 	/**
     40 	 * Smart Placement
     41 	 * https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
     42 	 */
     43 	// "placement": {  "mode": "smart" }
     44 	/**
     45 	 * Bindings
     46 	 * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
     47 	 * databases, object storage, AI inference, real-time communication and more.
     48 	 * https://developers.cloudflare.com/workers/runtime-apis/bindings/
     49 	 */
     50 	/**
     51 	 * Environment Variables
     52 	 * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
     53 	 * Note: Use secrets to store sensitive data.
     54 	 * https://developers.cloudflare.com/workers/configuration/secrets/
     55 	 */
     56 	// "vars": {  "MY_VARIABLE": "production_value" }
     57 }