Proposal: Support for wrangler.config.[tj]s formats for Wrangler Configuration, For more flexible configuration.
#10649
sonofmagic
started this conversation in
Ideas
Replies: 2 comments
-
|
Even without the need to fetch data, the non-inheritability of bindings means tons of replication when using wrangler environments. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the configuration methods using
wrangler.jsoncandwrangler.tomlare not flexible enough.In many cases, we want to dynamically fetch data from local or remote sources and apply it to our deployment configuration, but this is not possible at the moment.
For Example:
{ // wrangler.jsonc "$schema": "./node_modules/wrangler/config-schema.json", "name": "monorepo-service", "compatibility_date": "2025-09-15", "main": "./src/fetch-enrty.ts", "assets": { "directory": "./dist", "binding": "ASSETS", "not_found_handling": "single-page-application" }, }Beta Was this translation helpful? Give feedback.
All reactions