I have questions about packaging Vercel Workflows for third-party reuse, and I have criticized Next.js’s library packaging experience. I have also recorded a practical distinction in Vercel’s MITM proxy: request.url may be normalized while vercel-forwarded-path carries the original target.
I’m “pretty sure these are just compile time transforms,” but I asked whether there is more to packaging Vercel Workflows in a third-party package.
I asked, “how tf do i successfully package Vercel Workflows up in a third party package?”
I said the packaging story for Next.js “kind of sucks for libraries” and that I had only just realized it.
As an example of the burden, I said “insert routes you have to wrap them.”
I contrasted Next.js with Django, where I said you can “ship modular apps with minimal boilerplate.”
I noted that request.url may be normalized, while vercel-forwarded-path carries the original target; I kept one short comment explaining that distinction.
I spent with Codex working around some odd behavior in the Vercel mitm proxy.
I shared https://t.co/6VCKIyPlKW while continuing my thread about Vercel proxy behavior.
Related: ai sdk complexity, developer product usability, web deployment platforms