mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 10:26:52 -06:00
- 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/*)
19 lines
505 B
TypeScript
19 lines
505 B
TypeScript
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({
|
|
plugins: [
|
|
jsonLogger(),
|
|
tailwindcss(),
|
|
sveltekit(),
|
|
sveltekitOG(),
|
|
Icons({ compiler: "svelte" }),
|
|
],
|
|
clearScreen: false,
|
|
assetsInclude: ["**/*.wasm"],
|
|
});
|