20 lines
495 B
JavaScript
20 lines
495 B
JavaScript
// import { withPayload } from "@payloadcms/next/withPayload";
|
|
// /** @type {import('next').NextConfig} */
|
|
// const nextConfig = {};
|
|
|
|
// export default withPayload(nextConfig);
|
|
|
|
|
|
import { withPayload } from '@payloadcms/next/withPayload'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Your Next.js config here
|
|
experimental: {
|
|
reactCompiler: false,
|
|
},
|
|
}
|
|
|
|
// Make sure you wrap your `nextConfig`
|
|
// with the `withPayload` plugin
|
|
export default withPayload(nextConfig)
|