feat: remove cloudflare adapter dependency to nodejs_compat

- adjusted bindings extraction to not rely on node inspect anymore
- added new vite export that uses nodejs apis
This commit is contained in:
dswbx
2025-11-11 13:33:04 +01:00
parent 3f55c0f2c5
commit 4859b99954
11 changed files with 119 additions and 31 deletions
+1 -2
View File
@@ -2,8 +2,7 @@
"$schema": "node_modules/wrangler/config-schema.json",
"name": "bknd-cf-worker-example",
"main": "src/index.ts",
"compatibility_date": "2025-08-03",
"compatibility_flags": ["nodejs_compat"],
"compatibility_date": "2025-11-05",
"workers_dev": true,
"minify": true,
"assets": {