nextload/next.config.js

11 lines
259 B
JavaScript
Raw Normal View History

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} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ["@payloadcms/db-mongodb"],
},
};
2024-03-01 17:33:44 +00:00
module.exports = withPayload(nextConfig);