How to run next.js that deployed on vercel with bun?

When I deploy my next.js on vercel, it runs my next.js program on node.js.

Now bun.js is of stable version and it’s known for its high performance and high-speed, which could improve my project performance.

I would to know is there anyway to run next.js that deployed on vercel with bun?

Thanks.

I don’t think so. I know you can use it locally in development but I’m pretty sure Vercel only supports node in production.

1 Like

I don’t think that bun fully supports building or running Next.js yet as there is no feature parity between bun and node and thus bun tends to delegate calls to node itself and end up running the dev server using node for example.

1 Like