mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-10 17:10:06 -04:00
Update vite.config.js
This commit is contained in:
parent
30f58fd920
commit
2df6976e07
1 changed files with 9 additions and 3 deletions
|
@ -1,12 +1,18 @@
|
||||||
import { sveltekit } from '@sveltejs/kit/vite'
|
import { sveltekit } from '@sveltejs/kit/vite'
|
||||||
|
import tailwindcss from '@tailwindcss/vite'
|
||||||
|
import mkcert from 'vite-plugin-mkcert'
|
||||||
|
|
||||||
/** @type {import('vite').UserConfig} */
|
/** @type {import('vite').UserConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
plugins: [sveltekit()],
|
plugins: [mkcert(), tailwindcss(), sveltekit()],
|
||||||
server: {
|
server: {
|
||||||
https: false,
|
https: true,
|
||||||
host: '127.0.0.1',
|
host: '127.0.0.1',
|
||||||
port: 3333
|
port: 3000
|
||||||
|
},
|
||||||
|
preview: {
|
||||||
|
https: true,
|
||||||
|
port: 4000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue