Template
payload is working! must use webpack
This commit is contained in:
1 parent
13b8b36c4c
commit
0d83380251
32 files changed
+1182
-18330
No files matched your search
@@ -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);
|
||||
Reference in new issue
Block a user