-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
67 lines (67 loc) · 2.02 KB
/
wrangler.jsonc
File metadata and controls
67 lines (67 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"$schema": "./node_modules/wrangler/config-schema.json",
"main": "./cloudflare/worker-entrypoint.ts",
"name": "nodejs-website",
"compatibility_date": "2024-11-07",
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
"account_id": "fb4a2d0f103c6ff38854ac69eb709272",
"minify": true,
"keep_names": false,
"assets": {
"directory": ".open-next/assets",
"binding": "ASSETS",
"run_worker_first": true,
},
"services": [
{
"binding": "WORKER_SELF_REFERENCE",
"service": "nodejs-website",
},
],
"vars": {
// Variables needed for skew protection
// Also note that an appropriate CF_WORKERS_SCRIPTS_API_TOKEN secret
// needs to be set as well in the Cloudflare dashboard
"CF_WORKER_NAME": "nodejs-website",
"CF_PREVIEW_DOMAIN": "nodejsorg",
"CF_ACCOUNT_ID": "fb4a2d0f103c6ff38854ac69eb709272",
},
"observability": {
"enabled": true,
"head_sampling_rate": 1,
},
"build": {
"command": "wrangler-build-time-fs-assets-polyfilling --assets pages --assets snippets --assets-output-dir .open-next/assets",
},
"alias": {
"node:fs": "./.wrangler/fs-assets-polyfilling/polyfills/node/fs.ts",
"node:fs/promises": "./.wrangler/fs-assets-polyfilling/polyfills/node/fs/promises.ts",
"fs": "./.wrangler/fs-assets-polyfilling/polyfills/node/fs.ts",
"fs/promises": "./.wrangler/fs-assets-polyfilling/polyfills/node/fs/promises.ts",
},
"r2_buckets": [
{
"binding": "NEXT_INC_CACHE_R2_BUCKET",
"bucket_name": "next-cache-r2-for-open-next-website",
},
],
"durable_objects": {
"bindings": [
{
"name": "NEXT_CACHE_DO_QUEUE",
"class_name": "DOQueueHandler",
},
],
},
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": ["DOQueueHandler"],
},
],
"version_metadata": {
// CF_VERSION_METADATA used for sentry
// See: https://docs.sentry.io/platforms/javascript/guides/cloudflare/#release-configuration-optional
"binding": "CF_VERSION_METADATA",
},
}