chore: bumps deps

This commit is contained in:
James
2024-03-05 16:38:45 -05:00
parent 10ed69a595
commit 88ab021df0
4 changed files with 124 additions and 90 deletions

View File

@ -3,6 +3,7 @@ import path from "path";
import { mongooseAdapter } from "@payloadcms/db-mongodb"; // database-adapter-import
import { slateEditor } from "@payloadcms/richtext-slate"; // editor-import
import { buildConfig } from "payload/config";
// import sharp from 'sharp'
export default buildConfig({
editor: slateEditor({}), // editor-config
@ -22,6 +23,16 @@ export default buildConfig({
type: 'number',
}
]
},
{
slug: 'media',
upload: true,
fields: [
{
name: 'text',
type: 'text',
}
]
}
],
secret: process.env.PAYLOAD_SECRET || '',
@ -50,4 +61,5 @@ export default buildConfig({
})
}
},
// sharp,
});