smo-proximity-chat/vite.config.ts

21 lines
425 B
TypeScript
Raw Normal View History

2024-12-17 19:52:13 -05:00
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
2024-12-22 13:59:06 -05:00
// import { readFileSync } from 'node:fs';
2024-12-17 19:52:13 -05:00
export default defineConfig({
server: {
2024-12-22 13:59:06 -05:00
// https: {
// key: readFileSync('key.pem'),
// cert: readFileSync('cert.pem'),
// },
// hmr: {
// path: "ws",
// host: "smosh.eepy.engineering"
// },
// origin: "https://smosh.eepy.engineering"
2024-12-17 19:52:13 -05:00
},
plugins: [
sveltekit(),
]
});