.dev.vars file to wrangler.toml?[vars] shouldn't contain secrets.wrangler secret put to upload a secret for prod)Wranglerenv parameter through all the functions? i know you can't do something like const secret = process.env.MY_SECRET at the top of a file and have it work like a node server, but surely there must be some other way to read from env without all this drillingprocess.env.X during the build, but probably not a good idea to do that with secrets. i wonder what other options there areWould you like to report this error to Cloudflare? prompt really irritating
scheduled and fetch? Are there any downsides to it?upload_source_maps=true. bot.on() function in an separate file it stops to work why is that?
name = "TBA"
compatibility_date = "2024-05-12"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"
[vars]
TURSO_DATABASE_URL = "libsql://TBA.turso.io"
TURSO_AUTH_TOKEN = "TBA"
[.dev.vars]
TURSO_DATABASE_URL = "http://127.0.0.1:8080"
TURSO_AUTH_TOKEN = "TBA"upload_source_maps=true✘ [ERROR] A request to the Cloudflare API (/accounts/.../workers/scripts/...) failed.
sourcemap index.js.map is too large, must not exceed 5MB [code: 10021]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choosebot.on()