Files
pistation/apps/web-client/vite.config.ts
T
SirBlob 18384c0cbc Add web client
Join screen, room with screen and camera sharing, live annotation,
whiteboard, and the admin panel for kiosks, widgets and branding.
2026-08-09 17:09:16 -04:00

23 lines
587 B
TypeScript

import { sveltekit } from "@sveltejs/kit/vite";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [tailwindcss(), sveltekit()],
server: {
// The workspace root, so the dev server may serve the shared packages.
fs: {
allow: ["../.."]
}
},
ssr: {
noExternal: ["@pistation/shared-types", "@pistation/client-core", "@pistation/ui"]
},
optimizeDeps: {
include: ["react", "react-dom", "react-dom/client"]
},
define: {
"process.env.IS_PREACT": JSON.stringify("false")
}
});