I am trying to get Vercel serverless functions running at packages/web/api/...
I have my remix app also at packages/web/app/...
packages/web/app/vercel.json contains:
{
"rewrites": [{ "source": "/api/(.*)", "destination": "/api" }]
}
when running with vercel dev, I don't see the routes being rewritten. Instead, they get to the remix server which 404s. What's the correct way to setup this rewrite with Vercel, in a monorepo setup?