[READ-ONLY] Mirror of https://github.com/flo-bit/atmo-garden. atmo.garden
0

Configure Feed

Select the types of activity you want to include in your feed.

atmo-garden / svelte.config.js
559 B 24 lines
1import adapter from '@sveltejs/adapter-cloudflare'; 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 // Expose wrangler.jsonc bindings (D1, KV, vars) as platform.env 11 // during `vite dev`. See 12 // https://svelte.dev/docs/kit/adapter-cloudflare#Bindings 13 platformProxy: { 14 configPath: 'wrangler.jsonc', 15 persist: true 16 } 17 }), 18 experimental: { 19 remoteFunctions: true 20 } 21 } 22}; 23 24export default config;