Skip to content

Commit e40dbec

Browse files
authored
chore(rsc): switch Cloudflare examples from nodejs_als to nodejs_compat (#1131)
1 parent f01b30c commit e40dbec

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/plugin-rsc/examples/basic/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
},
88
"workers_dev": true,
99
"compatibility_date": "2025-10-01",
10-
"compatibility_flags": ["nodejs_als"],
10+
"compatibility_flags": ["nodejs_compat"],
1111
}

packages/plugin-rsc/examples/react-router/cf/wrangler.rsc.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"main": "./entry.rsc.tsx",
55
"workers_dev": true,
66
"compatibility_date": "2025-10-01",
7-
"compatibility_flags": ["nodejs_als"],
7+
"compatibility_flags": ["nodejs_compat"],
88
}

packages/plugin-rsc/examples/react-router/cf/wrangler.ssr.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"workers_dev": true,
66
"services": [{ "binding": "RSC", "service": "vite-rsc-react-router-rsc" }],
77
"compatibility_date": "2025-10-01",
8-
"compatibility_flags": ["nodejs_als"],
8+
"compatibility_flags": ["nodejs_compat"],
99
}

packages/plugin-rsc/examples/starter-cf-single/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"main": "./src/framework/entry.rsc.tsx",
55
"workers_dev": true,
66
"compatibility_date": "2025-10-01",
7-
"compatibility_flags": ["nodejs_als"],
7+
"compatibility_flags": ["nodejs_compat"],
88
}

0 commit comments

Comments
 (0)