Skip to content

Commit 511191b

Browse files
committed
Add sharp as explicit dependency for Astro image optimization
pnpm doesn't hoist sharp from astro's optional deps like npm does, so it needs to be listed directly. Fixes CI build failure.
1 parent 11cae42 commit 511191b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"mermaid": "^11.12.3",
2727
"nanostores": "^1.1.0",
2828
"radix-vue": "^1.9.17",
29+
"sharp": "^0.34.5",
2930
"vue": "^3.5.27",
3031
"yaml": "^2.8.2"
3132
},

website/pnpm-lock.yaml

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)