chore: bumps deps
This commit is contained in:
@ -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,
|
||||
});
|
||||
|
Reference in New Issue
Block a user