Pages does not support custom paths for the `wrangler.toml` configuration file

I am trying to use the following command using an NX argument: wrangler pages deploy --config {args.wranglerConfig} but I get: Pages does not support custom paths for the wrangler.toml configuration file. Is this really the case + is there no option to work around this? I have wrangler.toml for acc and 1 for prod.
1 Reply
jdruwe
jdruweOP•5mo ago
I was able to workaround this issue by putting these files in folder names acceptance instead of using wrangler-acc.toml. Still not sure why this isn't supported, would make life easier 😉
Want results from more Discord servers?
Add your server