payload is working! must use webpack

This commit is contained in:
2026-03-26 15:52:28 -05:00
parent 13b8b36c4c
commit 0d83380251
32 changed files with 1182 additions and 18330 deletions

View File

@@ -1,6 +1,7 @@
import { withSentryConfig } from '@sentry/nextjs';
import { createJiti } from 'jiti';
import { withPlausibleProxy } from 'next-plausible';
import { withSentryConfig } from '@sentry/nextjs';
import { withPayload } from '@payloadcms/next/withPayload';
const jiti = createJiti(import.meta.url);
await jiti.import('./src/env');
@@ -54,4 +55,4 @@ const sentryConfig = {
enabled: true,
},
};
export default withSentryConfig(config, sentryConfig);
export default withSentryConfig(withPayload(config), sentryConfig);