From a14b6c28dd14681fa8f210bedd579cbd95f1bb35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Mon, 6 Apr 2026 01:43:18 +0100 Subject: [PATCH] fix(web): restore withPayload wrapper for production Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/next.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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));