Files
xyflow/examples/vite-app/vite.config.ts
2023-06-05 15:40:18 +02:00

14 lines
295 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['../..'],
},
},
});