refactor: replace sveltekit-og with native Satori implementation

- Remove @ethercorps/sveltekit-og and bits-ui dependencies
- Implement direct Satori + Resvg rendering pipeline
- Add OgImage.svelte component for template generation
- Create /internal/ogp preview page for development
- Load fonts from node_modules via fs for production compatibility
- Add 2s startup delay before OG image regeneration
This commit is contained in:
2026-01-05 14:38:52 -06:00
parent 81d9541b44
commit 96595b073d
15 changed files with 496 additions and 292 deletions
+5 -1
View File
@@ -8,7 +8,11 @@ const config = {
kit: {
adapter: adapter({
out: "build",
precompress: false,
precompress: {
brotli: true,
gzip: true,
files: ["html", "js", "json", "css", "svg", "xml", "wasm"],
},
serveAssets: false,
}),
alias: {