-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvite.config.js
48 lines (46 loc) · 1.1 KB
/
vite.config.js
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { sveltekit } from '@sveltejs/kit/vite';
import Icons from 'unplugin-icons/vite';
// import { SvelteKitPWA } from '@vite-pwa/sveltekit';
/** @type {import('vite').UserConfig} */
const config = {
plugins: [
sveltekit(),
Icons({
autoInstall: true,
compiler: 'svelte'
})
// SvelteKitPWA({
// registerType: 'autoUpdate',
// devOptions: {
// enabled: true,
// type: 'module',
// navigateFallback: '/'
// },
// manifest: {
// lang: 'en-us',
// short_name: 'NeosVR Mod Manager',
// name: 'NeosVR Mod Manager',
// start_url: '/',
// description: 'Easily install NeosVR mods and maintain them with ease.',
// scope: '/',
// display: 'standalone',
// theme_color: '#111827',
// background_color: '#111827',
// display_override: ['window-controls-overlay'],
// icons: [
// {
// src: '/pwa-192x192.png',
// sizes: '192x192',
// type: 'image/png'
// },
// {
// src: '/pwa-512x512.png',
// sizes: '512x512',
// type: 'image/png'
// }
// ]
// }
// })
]
};
export default config;