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

@@ -0,0 +1,18 @@
import { postgresAdapter } from '@payloadcms/db-postgres';
import { lexicalEditor } from '@payloadcms/richtext-lexical';
import { buildConfig } from 'payload';
import sharp from 'sharp';
import { env } from './env';
export default buildConfig({
editor: lexicalEditor(),
collections: [],
secret: env.PAYLOAD_SECRET ?? '',
db: postgresAdapter({
pool: {
connectionString: env.PAYLOAD_DB_URL,
},
}),
sharp,
});