fix(cms): add local payload.config.ts re-export for proper @payload-config resolution

This commit is contained in:
2026-04-06 15:34:31 +02:00
parent 0bc3b02f70
commit 3c9cd47427
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
// Re-export Payload config from @repo/cms-core
// This file exists so @payload-config resolves correctly in the CMS app
export { default } from "@repo/cms-core/src/payload.config";

View File

@@ -7,7 +7,7 @@
"./src/*"
],
"@payload-config": [
"../../packages/cms-core/src/payload.config.ts"
"./src/payload.config.ts"
]
},
"allowJs": true