- Added support for Jitsi configuration retrieval from the backend, allowing for dynamic room name generation based on the active configuration. - Implemented a polyfill for BlobBuilder to ensure compatibility with the lib-jitsi-meet library across different browsers. - Enhanced error handling during the loading of the Jitsi library, providing clearer feedback for missing modules and connection issues. - Updated Vite configuration to exclude lib-jitsi-meet from SSR and allow dynamic loading in the browser. - Introduced a new route for Jitsi settings in the dashboard for user configuration of Jitsi Meet parameters.
17 lines
468 B
TypeScript
17 lines
468 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss(), sveltekit()],
|
|
resolve: {
|
|
dedupe: ["lucide-svelte"],
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["lib-jitsi-meet"], // Excluir para permitir carregamento dinâmico no browser
|
|
},
|
|
ssr: {
|
|
noExternal: [], // lib-jitsi-meet não funciona no SSR, deve ser carregada apenas no browser
|
|
},
|
|
});
|