import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
// import { readFileSync } from 'node:fs';

export default defineConfig({
	server: {
		// https: {
		// 	key: readFileSync('key.pem'),
		// 	cert: readFileSync('cert.pem'),
		// },
		// hmr: {
		// 	path: "ws",
		// 	host: "smosh.eepy.engineering"
		// },
		// origin: "https://smosh.eepy.engineering"
	},
	plugins: [
		sveltekit(),
	]
});
