From dc01c46c761f7e8c5db3c38d1865d065dda1dc7a Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 25 May 2026 21:01:49 +0200 Subject: [PATCH] fix(og): commit le PNG, ne pas regenerer dans le container Alpine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sharp dans node:22-alpine n'a pas librsvg → SVG mal rendu → PNG 4 KB quasi-vide. Le PNG est generé localement (où WSL a librsvg complet), commité, et servi tel quel. Script build:og garde dans package.json pour regen manuel si le SVG bouge. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0eedb84..4992d71 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ dist *.log .vscode/*.local .idea +data-sources/ diff --git a/package.json b/package.json index adf688a..0378ed9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "astro dev", - "build": "node scripts/build-og-image.mjs && astro build", + "build": "astro build", "build:og": "node scripts/build-og-image.mjs", "preview": "astro preview", "start": "node ./dist/server/entry.mjs",