mirror of
https://github.com/open-webui/open-webui
synced 2025-06-16 19:31:52 +00:00
18 lines
395 B
JavaScript
18 lines
395 B
JavaScript
import vercel from '@sveltejs/adapter-vercel';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: vercel(),
|
|
},
|
|
onwarn: (warning, handler) => {
|
|
const { code } = warning;
|
|
if (code === 'css-unused-selector') return;
|
|
handler(warning);
|
|
}
|
|
};
|
|
|
|
export default config;
|