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.
Was this page helpful?