-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts
29 lines (28 loc) · 887 Bytes
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { VitePWA } from 'vite-plugin-pwa'
import * as fs from "fs";
// https://vitejs.dev/config/
export default defineConfig({
server: {
// https: {
// key: fs.readFileSync('./certs/localhost-key.pem'),
// cert: fs.readFileSync('./certs/localhost.pem')
// }
},
plugins: [
vue(),
VitePWA({
registerType: 'autoUpdate',
manifest: {
name: "Ich hab' noch nie",
short_name: "Ich hab' noch nie",
display: "standalone",
theme_color: "#f67730",
background_color: "#f67730",
description: "Ein einfaches Partyspiel mit Fragen, bei der man auch selbst Fragen hinzufügen kann"
},
workbox: {}
})
]
})