Skip to content

Conversation

@dswbx
Copy link
Contributor

@dswbx dswbx commented Nov 11, 2025

This PR removes the necessity to add the compatibility flag to nodejs_compat by:

  • changing how bknd automatically discovers cloudflare bindings (remove the requirement of util.inspect)
  • adding a new export "bknd/adapter/cloudflare/vite" for the vite plugin

Without nodejs_compat, bknd internal env flags will not work, since there is no global access of process.env anymore. But that's for debugging purposes mostly.

- adjusted bindings extraction to not rely on node inspect anymore
- added new vite export that uses nodejs apis
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bknd-docs 4859b99 Commit Preview URL

Branch Preview URL
Nov 11 2025, 12:35 PM

Base automatically changed from release/0.20 to main January 9, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants