loro/crates/loro-wasm/web-test/vite.config.ts

15 lines
314 B
TypeScript
Raw Normal View History

2022-11-07 15:37:10 +00:00
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: [".."],
},
},
});