feat: added sharp for image optimizations on nextjs

Signed-off-by: Adithya Krishna <adikrish@redhat.com>
This commit is contained in:
Adithya Krishna
2023-08-26 21:20:57 +05:30
parent 10cd8144eb
commit 650b69ae56
3 changed files with 434 additions and 4 deletions

View File

@ -31,7 +31,8 @@
"react-icons": "^4.8.0",
"recharts": "^2.7.2",
"typescript": "5.1.6",
"zod": "^3.21.4"
"zod": "^3.21.4",
"sharp": "0.32.5"
},
"devDependencies": {
"@types/node": "20.1.0",

View File

@ -38,7 +38,8 @@
"react-rnd": "^10.4.1",
"ts-pattern": "^5.0.5",
"typescript": "5.1.6",
"zod": "^3.21.4"
"zod": "^3.21.4",
"sharp": "0.32.5"
},
"devDependencies": {
"@types/formidable": "^2.0.6",