Files
xevion.dev/web/svelte.config.js
Xevion 81d9541b44 feat: add health checks, OG image generation, and R2 integration
- Implement health check system with caching and singleflight pattern
- Add OG image generation via Satori with R2 storage backend
- Configure Railway deployment with health check endpoint
- Add connection pooling and Unix socket support for Bun SSR
- Block external access to internal routes (/internal/*)
2026-01-05 03:16:55 -06:00

21 lines
436 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: false,
serveAssets: false,
}),
alias: {
$components: "src/lib/components",
},
},
};
export default config;