Support for separate wrangler.toml files in monorepo?

When using the new wrangler.toml support with Pages and new mono-repo support, Cloudflare seems to only look for the wrangler.toml file at the root directory (even if root directory is manually changed). I would like to have a seperate wrangler.toml for each Pages project within my mono-repo.
4 Replies
laurent
laurent4mo ago
I think this is true with git integration, and wrangler deploy works as expected (not tested yet)
Henry Black
Henry Black3mo ago
Using the git integration I have the same issue
Henry Black
Henry Black3mo ago
Actually, I take that back. If you set the root directory inside Settings / Builds and Deployments it takes account of the wrangler.toml in that directory. This is with compatibility_date = "2024-08-23"
No description
Erisa
Erisa3mo ago
yes, if you change the root directory it should work
Want results from more Discord servers?
Add your server