import { defineConfig } from 'vite'; import path from 'path'; // Allow Vite dev server to read files from parent folder so we can import // the existing `src` code without copying it. export default defineConfig({ server: { fs: { // allow access to parent workspace root allow: [path.resolve(__dirname, '..')] } } });