deps: add sharp as a direct dependency
Sharp is only an optional dep of astro; the CI runner omits optional deps, so astro:assets image optimization failed with MissingSharp. Pinning it as a direct dependency guarantees the native binary is installed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f5850bd0c3
commit
deb5d48c68
+2
-1
@@ -13,6 +13,7 @@
|
|||||||
"@astrojs/sitemap": "^3.3.0",
|
"@astrojs/sitemap": "^3.3.0",
|
||||||
"@tailwindcss/vite": "^4.1.5",
|
"@tailwindcss/vite": "^4.1.5",
|
||||||
"tailwindcss": "^4.1.5",
|
"tailwindcss": "^4.1.5",
|
||||||
"@fontsource-variable/inter": "^5.2.5"
|
"@fontsource-variable/inter": "^5.2.5",
|
||||||
|
"sharp": "^0.34.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user