-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js
32 lines (31 loc) · 937 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
30
31
32
//import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
plugins: [VitePWA(
{
workbox: {
globPatterns: ['**/*.{js,css,html,svg,png,woff2}'],
},
registerType: "autoUpdate",
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"
}
]
}
}
)
//, sveltekit()
]
});