2024-03-05 20:47:07 +00:00
|
|
|
const withPayload = require("@payloadcms/next/withPayload");
|
2024-03-01 17:33:44 +00:00
|
|
|
|
|
|
|
/** @type {import('next').NextConfig} */
|
2024-03-05 03:40:05 +00:00
|
|
|
const nextConfig = {
|
|
|
|
experimental: {
|
|
|
|
serverComponentsExternalPackages: ["@payloadcms/db-mongodb"],
|
|
|
|
},
|
|
|
|
};
|
2024-03-01 17:33:44 +00:00
|
|
|
|
|
|
|
module.exports = withPayload(nextConfig);
|