CoolFace
Apppublic

beea/open-webui

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
svelte.config.js28 linesDownload Raw Back to root
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://kit.svelte.dev/docs/integrations#preprocessors7	// for more information about preprocessors8	preprocess: vitePreprocess(),9	kit: {10		// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.11		// If your environment is not supported or you settled on a specific environment, switch out the adapter.12		// See https://kit.svelte.dev/docs/adapters for more information about adapters.13		adapter: adapter({14			pages: 'build',15			assets: 'build',16			fallback: 'index.html'17		})18	},19	onwarn: (warning, handler) => {20		const { code, _ } = warning;21		if (code === 'css-unused-selector') return;22 23		handler(warning);24	}25};26 27export default config;28