fix: prisma client binary cannot be found on vercel (#23772)
This commit is contained in:
1 parent
dbbf3ae2a2
commit
4ed0901957
5 files changed
+21
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user