an atproto based link aggregator
at main 615 B view raw
1import adapter from '@sveltejs/adapter-node'; 2import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; 3 4/** @type {import('@sveltejs/kit').Config} */ 5const config = { 6 preprocess: vitePreprocess(), 7 8 kit: { 9 adapter: adapter({ 10 // External packages with native modules - load from node_modules at runtime 11 external: [ 12 '@libsql/client', 13 '@libsql/core', 14 '@libsql/hrana-client', 15 '@libsql/linux-x64-gnu', 16 '@libsql/linux-x64-musl', 17 'libsql' 18 ] 19 }), 20 experimental: { 21 tracing: { 22 server: true 23 }, 24 instrumentation: { 25 server: true 26 } 27 } 28 } 29}; 30 31export default config;