Skip to content

Commit a06892b

Browse files
Add nodejs_compat_populate_process_env to cloudflare workers options
1 parent d3787da commit a06892b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typescript/templates/cloudflare-worker/wrangler.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ main = "./src/index.ts"
88
preview_urls = true
99

1010
# Enable NodeJS compatibility (used by the SDK for the Node Buffer API)
11+
# and Node's process.env (for logging)
1112
compatibility_date = "2025-09-23"
12-
compatibility_flags = [ "nodejs_compat" ]
13+
compatibility_flags = [ "nodejs_compat", "nodejs_compat_populate_process_env" ]

0 commit comments

Comments
 (0)