diff options
| author | Bertrand Yuan <bert.yuan@outlook.com> | 2025-12-16 00:25:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 00:25:04 +0800 |
| commit | 39c83fbb69ef06d2d56790d75abc254ba7e34394 (patch) | |
| tree | dd006593448c3500bdcb414af3b4656f7a7683d4 /next.config.js | |
| parent | 48b07bc308a35734a6a7a305c8fdccbfa47de7d8 (diff) | |
| parent | 785371bb3eccca455e5ce5fccbe9b6e3752a03f6 (diff) | |
Merge pull request #1 from bertyuan/feat-introduce-payloadv1.0
Feat: introduce payload
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/next.config.js b/next.config.js index 9b1c00f..d76b0ba 100644 --- a/next.config.js +++ b/next.config.js @@ -5,12 +5,13 @@ import './src/env.js'; import { createMDX } from 'fumadocs-mdx/next'; +import { withPayload } from '@payloadcms/next/withPayload'; const withMDX = createMDX(); /** @type {import('next').NextConfig} */ const config = { - reactStrictMode: true, + reactStrictMode: false, experimental: { viewTransition: true, }, @@ -22,4 +23,4 @@ const config = { ], }; -export default withMDX(config); +export default withPayload(withMDX(config)); |
