PomeloNote/frontend/svelte/vite.config.ts
2022-10-10 20:28:51 +02:00

15 lines
281 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';
const config: UserConfig = {
plugins: [sveltekit()],
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['..'],
},
},
};
export default config;