perf: add sharp for image optimization, lazy loading on menu
- Added sharp for server-side image resizing - Lazy loading and async decoding on menu images - Added thumbnail column to images table - Images API now generates 400x300 thumbnails on upload
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@
|
||||
"next": "14.2.28",
|
||||
"pg": "^8.12.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
"react-dom": "^18.3.1",
|
||||
"sharp": "^0.35.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
|
||||
Reference in New Issue
Block a user