create-payload-app 3.0.0-beta.10 → 3.0.0-beta.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
1
|
import { mongooseAdapter } from '@payloadcms/db-mongodb' // database-adapter-import
|
2
2
|
// import { payloadCloud } from '@payloadcms/plugin-cloud'
|
3
|
-
import { lexicalEditor } from '@payloadcms/richtext-lexical'
|
3
|
+
import { lexicalEditor } from '@payloadcms/richtext-lexical'
|
4
4
|
import path from 'path'
|
5
5
|
import { buildConfig } from 'payload/config'
|
6
6
|
// import sharp from 'sharp'
|
@@ -27,6 +27,7 @@ export default buildConfig({
|
|
27
27
|
url: process.env.DATABASE_URI || '',
|
28
28
|
}),
|
29
29
|
// database-adapter-config-end
|
30
|
+
|
30
31
|
// Sharp is now an optional dependency -
|
31
32
|
// if you want to resize images, crop, set focal point, etc.
|
32
33
|
// make sure to install it and pass it to the config.
|