diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 8f83169..9bc4c29 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -1,4 +1,5 @@ import type { NextConfig } from "next"; +import { withPayload } from "@payloadcms/next/withPayload"; import env from "./env.config"; @@ -115,4 +116,4 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: env.ANALYZE, }); -export default withBundleAnalyzer(config); +export default withPayload(withBundleAnalyzer(config));