mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 13:39:12 +00:00
15 lines
314 B
TypeScript
15 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: [".."],
|
||
|
},
|
||
|
},
|
||
|
});
|