mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 14:26:37 -06:00
- 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
25 lines
550 B
JavaScript
25 lines
550 B
JavaScript
import adapter from "svelte-adapter-bun";
|
|
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
inlineStyleThreshold: 1000,
|
|
kit: {
|
|
adapter: adapter({
|
|
out: "build",
|
|
precompress: {
|
|
brotli: true,
|
|
gzip: true,
|
|
files: ["html", "js", "json", "css", "svg", "xml", "wasm"],
|
|
},
|
|
serveAssets: false,
|
|
}),
|
|
alias: {
|
|
$components: "src/lib/components",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|