simple atproto oauth for static svelte apps flo-bit.dev/svelte-atproto-client-oauth/
at main 18 lines 466 B view raw
1import adapter from '@sveltejs/adapter-static'; 2import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; 3 4/** @type {import('@sveltejs/kit').Config} */ 5const config = { 6 // Consult https://svelte.dev/docs/kit/integrations 7 // for more information about preprocessors 8 preprocess: vitePreprocess(), 9 10 kit: { 11 adapter: adapter(), 12 paths: { 13 base: process.env.NODE_ENV === 'development' ? '' : '/svelte-atproto-client-oauth' 14 } 15 } 16}; 17 18export default config;