Conversation
…untimes (vercel-edge, workerd)
size-limit report 📦
|
|
Would it be possible to have a toggle to always opt in in using |
Hi @tobiasdiez, we have previously discussed this possibility with the maintainer of unjs/unwasm, but it shouldn't be necessary at this moment. Currently, and in the upcoming Prisma 6.15.0 release as well, the Query Compiler Wasm will be loaded as following:
So, if your Nuxt project is hosted on e.g. Vercel's Node.js runtime or Deno Deploy, Prisma will load the base64-encoded file. |
|
Sounds good. I'm happy with whatever solution as long as I can successfully create a production deployment against the nodejs runtime with nuxt + prisma 🦊 Currently, this is not working with the base64-encoded file. |
Can you link me to a project that doesn't work in the scenario you describe? I have this example (a copy of https://github.com/prisma/prisma-examples/tree/feat/prisma-client-fixes/generator-prisma-client/nuxt3-starter-nodejs) that works well both locally and deployed to Vercel. (Maybe you shared a link in another thread already; if so, I apologise. My Github notifications are exploding lol) |
|
I've played around with the examples in the
(and a few smaller fixes in prisma/prisma-examples#8282 should be ready to go) |
Have you used the examples from the |
|
That was with |
Replied in prisma/prisma-examples#8260 (comment). Not a Prisma error :) |
This PR: