prisma / ecosystem-tests

🥼🧬🧪🔬🧫🦠 - Continuously tests Prisma Client with various operating systems, frameworks, platforms, databases and more.
192 stars 25 forks source link

Test Vercel's `ncc` #3662

Open jkomyno opened 1 year ago

jkomyno commented 1 year ago

We currently test that Prisma + Vercel's pkg bundler work, but we don't have any test for ncc. While pkg basically bundles everything it finds up, ncc bundles a Node.js codebase into a single artifact. Vercel claims it supports Node.js binary addons (NAPI), but apparently napi.rs may not be supported (see a Prisma user comment on bundling libquery + ncc, which is apparently just fixed by using the binary Query Engine target https://github.com/prisma/prisma/issues/16901#issuecomment-1607925877).

ncc may also be used by the Vercel CLI, so it's highly relevant for us to ensure this works.

Next steps:

jkomyno commented 1 year ago

See more on Slack.