-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
15 lines (15 loc) · 774 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
15 lines (15 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "surfskills-web",
"main": "./dist/_worker.js/index.js",
"compatibility_date": "2026-06-01",
// nodejs_compat is required by Astro's server bundle: transitive deps
// (sharp/lightningcss → detect-libc) import node builtins (fs, child_process).
"compatibility_flags": ["nodejs_compat"],
// The adapter compiles Astro sessions in expecting a "SESSION" KV binding.
// Nothing uses Astro.session today, so none is declared — but the first
// future use of Astro.session will throw "Invalid binding SESSION" at
// runtime until a kv_namespaces entry with binding "SESSION" is added here.
"assets": { "binding": "ASSETS", "directory": "./dist" },
"observability": { "enabled": true }
}