-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.js
29 lines (28 loc) · 887 Bytes
/
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
import {sveltekit} from '@sveltejs/kit/vite';
import {defineConfig} from 'vite';
import {SvelteKitPWA} from "@vite-pwa/sveltekit";
export default defineConfig({
plugins: [sveltekit(), SvelteKitPWA({
manifest: {
"background_color": "#ffffff",
"theme_color": "#7E1F86",
"name": "Unixfy.net",
"short_name": "Unixfy.net",
"start_url": "/",
"display": "standalone",
"icons": [
{
"src": "/images/largeicon.png",
"sizes": "1000x1000",
"type": "image/png",
"purpose": "maskable any"
}
]
},
registerType: 'autoUpdate',
strategies: "generateSW",
workbox: {
globPatterns: ['**/*.{js,css,html,svg,png,woff2}'],
},
})]
});