15 lines
491 B
TOML
15 lines
491 B
TOML
|
name = "raw-knex-cloudflare"
|
||
|
main = "src/index.js"
|
||
|
compatibility_date = "2024-03-02"
|
||
|
# compatibility_flags = [ "nodejs_compat" ]
|
||
|
# ^ this fails with errors like
|
||
|
# The package "fs" wasn't found on the file system but is built into node.
|
||
|
# Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility.
|
||
|
|
||
|
node_compat = true
|
||
|
# ^ it works with the legacy node_compat flag
|
||
|
|
||
|
[[hyperdrive]]
|
||
|
binding = "DB"
|
||
|
id = "<redacted>"
|