1 {
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "medusa-docs-book",
4 "main": ".open-next/worker.js",
5 "minify": true,
6 "compatibility_date": "2024-12-30",
7 "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
8 "assets": {
9 "directory": ".open-next/assets",
10 "binding": "ASSETS",
11 // let the worker handle these so requests can be tracked in PostHog
12 // before the file is streamed back from the assets binding
13 "run_worker_first": ["/llms.txt", "/llms-full.txt"],
14 },
15 "services": [
16 {
17 "binding": "WORKER_SELF_REFERENCE",
18 "service": "medusa-docs-book",
19 },
20 ],
21 "images": {
22 "binding": "IMAGES",
23 },
24 "observability": {
25 "enabled": true,
26 "logs": {
27 "enabled": true,
28 "invocation_logs": true,
29 },
30 },
31 "env": {
32 "production": {
33 "name": "medusa-docs-book",
34 "minify": true,
35 "services": [
36 {
37 "binding": "WORKER_SELF_REFERENCE",
38 "service": "medusa-docs-book",
39 },
40 ],
41 "images": {
42 "binding": "IMAGES",
43 },
44 "observability": {
45 "enabled": true,
46 "logs": {
47 "enabled": true,
48 "invocation_logs": true,
49 },
50 },
51 "r2_buckets": [
52 {
53 "binding": "NEXT_INC_CACHE_R2_BUCKET",
54 "bucket_name": "docs-incremental-cache",
55 },
56 ],
57 "vars": {
58 "NEXT_INC_CACHE_R2_PREFIX": "incremental-cache/book",
59 },
60 },
61 },
62 "r2_buckets": [
63 {
64 "binding": "NEXT_INC_CACHE_R2_BUCKET",
65 "bucket_name": "docs-incremental-cache",
66 },
67 ],
68 "vars": {
69 "NEXT_INC_CACHE_R2_PREFIX": "incremental-cache/book",
70 },
71 }