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
I think this is true with git integration, and wrangler deploy works as expected
(not tested yet)
Using the git integration I have the same issue
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"
yes, if you change the root directory it should work