1
0
Fork 0

feat(vojtechmares.com): add sharp to run image optimalization in production

See: https://nextjs.org/docs/messages/sharp-missing-in-production
This commit is contained in:
Vojtěch Mareš 2023-10-07 11:35:28 +02:00
parent db47579536
commit dcf8618679
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 265 additions and 7 deletions

View file

@ -19,7 +19,8 @@
"clsx": "^2.0.0",
"next": "13.5.4",
"react": "18.2.0",
"react-dom": "18.2.0"
"react-dom": "18.2.0",
"sharp": "^0.32.6"
},
"devDependencies": {
"@babel/core": "^7.23.0",