mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 04:26:43 -06:00
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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user