@hasparus@vercel If it’s not critical to avoid, adding Next & making this an API route will likely fix your issues; Next sets up all the TS/build config seamlessly. I switched to Next for a standalone endpoint project. Docs aren’t clear whether it should be supported outside though, cc @leerob