Add web client
Join screen, room with screen and camera sharing, live annotation, whiteboard, and the admin panel for kiosks, widgets and branding.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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")
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user