import { svelte } from '@sveltejs/vite-plugin-svelte' import { defineConfig } from 'vite' export default defineConfig({ plugins: [svelte()], server: { // OAuth loopback clients must redirect to 127.0.0.1, not localhost host: '127.0.0.1', port: 5173, strictPort: true, // The @atproto packages are linked from ../atproto fs: { allow: ['..'] }, }, })