fix: prisma client binary cannot be found on vercel (#23772)

This commit is contained in:
Alex van Andel authored and GitHub committed 2025-09-11 23:18:39 +01:00
1 parent dbbf3ae2a2
commit 4ed0901957
5 files changed
+21

No files matched your search

+3
View File
@@ -2,6 +2,7 @@ require("dotenv").config({ path: "../../.env" });
const englishTranslation = require("./public/static/locales/en/common.json");
const { withAxiom } = require("next-axiom");
const { version } = require("./package.json");
const { PrismaPlugin } = require("@prisma/nextjs-monorepo-workaround-plugin");
const {
i18n: { locales },
} = require("./next-i18next.config");
@@ -254,6 +255,8 @@ const nextConfig = (phase) => {
})
);
config.plugins = [...config.plugins, new PrismaPlugin()];
config.externals.push("formidable");
}