mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
rollback sharp version
This commit is contained in:
1 parent
70eedf5db6
commit
6bd48ccef3
4 files changed
+239
-8
No files matched your search
@@ -49,11 +49,6 @@ const nextConfig = {
|
||||
},
|
||||
// Configure Sharp as an external package for server-side rendering
|
||||
serverExternalPackages: ['sharp'],
|
||||
webpack: {
|
||||
externals: {
|
||||
sharp: 'commonjs sharp',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default withPayload(nextConfig, { devBundleServerPackages: false })
|
||||
@@ -57,7 +57,7 @@
|
||||
"react-markdown": "^10.1.0",
|
||||
"rehype-highlight": "^7.0.2",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"sharp": "~0.34.0",
|
||||
"sharp": "0.32.6",
|
||||
"tailwind-merge": "^1.13.2",
|
||||
"tsx": "^4.19.3",
|
||||
"typescript": "catalog:"
|
||||
|
||||
@@ -106,6 +106,8 @@ export default buildConfig({
|
||||
},
|
||||
// Reduce payload init overhead
|
||||
telemetry: false,
|
||||
// @ts-expect-error had to rollback sharp verion to 0.32.6
|
||||
// check https://github.com/payloadcms/payload/issues/14142
|
||||
sharp,
|
||||
plugins,
|
||||
})
|
||||
Reference in new issue
Block a user