21 lines
583 B
JavaScript
21 lines
583 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
output: "standalone",
|
|
eslint: { ignoreDuringBuilds: true },
|
|
typescript: { ignoreBuildErrors: true },
|
|
experimental: {
|
|
serverActions: true,
|
|
serverComponentsExternalPackages: ["@prisma/client", ".prisma/client"],
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
if (isServer) {
|
|
config.externals = config.externals || [];
|
|
config.externals.push("@prisma/client");
|
|
config.externals.push(".prisma/client");
|
|
}
|
|
return config;
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig; |