16 lines
289 B
TypeScript
16 lines
289 B
TypeScript
|
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'),
|
||
|
},
|
||
|
},
|
||
|
plugins: [
|
||
|
sveltekit(),
|
||
|
]
|
||
|
});
|