Password hashing on EDGE?

I'm making an app and noticing that vercel's serverless functions are taking very much time to complete So, I tried migrating to the EDGE runtime as I saw theo suggest in his video, however I get an error as soon as I try to build bcrypt (since it uses node-gyp and everything) And I wanted to know how you guys handled authentication, and more specifically, password hashing, on the edge