(pages + hyperdrive) question: Can i separate prod and development or do i need two accounts?
(pages + hyperdrive) question: Can i separate prod and development or do i need two accounts?



compatibility_flags = [ "nodejs_compat" ] in wrangler.toml and then normal functions directory just works™. It took me a while to figure it out because most of the community resources, gh issues etc are slightly outdated and took me a while to understand that node_compat = true is a build time thing not supported by pages and likely won't be (as it is legacy) and compatibility_flags is the way to go!remix vite:build to succeed in CI. 









[env.production]
[[env.production.hyperdrive]]
binding = "HYPERDRIVE"
id = "id-1"
[env.preview]
[[env.preview.hyperdrive]]
binding = "HYPERDRIVE"
id = "id-2"