diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-06-25 23:41:27 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-06-25 23:41:27 +0900 |
| commit | 951cf56ba8251e95a913da17ba1f679bbe29b27c (patch) | |
| tree | aecfd48254ba0889e724558ba19f2b50d5e5772f /package.json | |
| parent | 50f9c3954258221db8d8288afcc313ed1df9f701 (diff) | |
OGP画像を動的生成するエンドポイントを追加(Satori + resvg-js)
- src/pages/og/[slug].png.ts を追加
- 全ページに個別のOGP画像をビルド時に生成
- デザイン: faceicon + ページタイトル + サイト名
- 開発中は npm run preview でのみ確認可能(静的エンドポイントの制限)
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index ad8b7c0..58933ee 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,12 @@ "dependencies": { "@astrojs/sitemap": "^3.7.3", "@astrojs/starlight": "^0.40.0", + "@resvg/resvg-js": "^2.6.2", "astro": "^6.4.6", "mammoth": "^1.12.0", "playwright": "^1.60.0", "remark-mermaidjs": "^7.0.0", + "satori": "^0.26.0", "sharp": "^0.33.0" }, "devDependencies": { |
