create-payload-app 3.0.0-beta.10 → 3.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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.
|