mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 06:26:44 -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:
@@ -2,7 +2,6 @@ import { sveltekit } from "@sveltejs/kit/vite";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import Icons from "unplugin-icons/vite";
|
||||
import { sveltekitOG } from "@ethercorps/sveltekit-og/plugin";
|
||||
import { jsonLogger } from "./vite-plugin-json-logger";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -10,9 +9,7 @@ export default defineConfig({
|
||||
jsonLogger(),
|
||||
tailwindcss(),
|
||||
sveltekit(),
|
||||
sveltekitOG(),
|
||||
Icons({ compiler: "svelte" }),
|
||||
],
|
||||
clearScreen: false,
|
||||
assetsInclude: ["**/*.wasm"],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user