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>
20 lines
426 B
JSON
20 lines
426 B
JSON
{
|
|
"name": "asger-weirsoe-dk",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "astro dev --host",
|
|
"build": "astro build",
|
|
"preview": "astro preview"
|
|
},
|
|
"dependencies": {
|
|
"astro": "^5.7.0",
|
|
"@astrojs/rss": "^4.0.11",
|
|
"@astrojs/sitemap": "^3.3.0",
|
|
"@tailwindcss/vite": "^4.1.5",
|
|
"tailwindcss": "^4.1.5",
|
|
"@fontsource-variable/inter": "^5.2.5",
|
|
"sharp": "^0.34.5"
|
|
}
|
|
}
|