loro/crates/loro-wasm/web-test/vite.config.ts
2022-11-07 23:37:10 +08:00

14 lines
314 B
TypeScript

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: [".."],
},
},
});