Files
noctis/vite.config.ts
2025-09-14 20:48:14 -05:00

16 lines
430 B
TypeScript

import tailwindcss from '@tailwindcss/vite';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { webSocketServer } from './src/websocket.ts';
export default defineConfig({
plugins: [tailwindcss(), sveltekit(), webSocketServer],
server: {
allowedHosts: true,
},
ssr: {
// ts-mls is problematic, make vite bundle it
noExternal: ['ts-mls']
}
});