Coves frontend - a photon fork
0

Configure Feed

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

coves-frontend / vite.config.ts
634 B 21 lines
1import { sveltekit } from '@sveltejs/kit/vite' 2import tailwindcss from '@tailwindcss/vite' 3import { defineConfig } from 'vite' 4 5export default defineConfig({ 6 plugins: [sveltekit(), tailwindcss()], 7 build: { 8 // Deliberate: ship sourcemaps in production. The app is AGPL with public 9 // source, so maps leak nothing sensitive, and they make prod stack traces 10 // debuggable. Revisit if closed-source code is ever bundled. 11 sourcemap: true, 12 }, 13 define: { 14 __VERSION__: JSON.stringify(process.env.npm_package_version), 15 }, 16 server: { 17 watch: { 18 ignored: ['!**/node_modules/mono-svelte/**'], 19 }, 20 }, 21})