fix(web): remove withPayload wrapper (crashes entire prod app)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { NextConfig } from "next";
|
||||
import { withPayload } from "@payloadcms/next/withPayload";
|
||||
|
||||
import env from "./env.config";
|
||||
|
||||
@@ -116,4 +115,4 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
||||
enabled: env.ANALYZE,
|
||||
});
|
||||
|
||||
export default withPayload(withBundleAnalyzer(config));
|
||||
export default withBundleAnalyzer(config);
|
||||
|
||||
Reference in New Issue
Block a user