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