Files
xyflow/examples/svelte/vite.config.ts
2025-04-30 20:32:06 +02:00

17 lines
304 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
build: {
sourcemap: true,
minify: false
},
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['../..']
}
}
});