-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.js
More file actions
45 lines (43 loc) · 889 Bytes
/
Copy pathvite.config.js
File metadata and controls
45 lines (43 loc) · 889 Bytes
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
import { sveltekit } from '@sveltejs/kit/vite';
import Icons from 'unplugin-icons/vite';
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
const config = {
plugins: [
sveltekit(),
Icons({ compiler: 'svelte' }),
SvelteKitPWA({
registerType: 'autoUpdate',
manifest: {
name: 'Sliple',
short_name: 'Sliple',
start_url: '/',
scope: '/',
description: 'A slippery puzzle game',
theme_color: '#020617',
background_color: '#000',
display: 'standalone',
icons: [
{
src: '/favicon-512.png',
sizes: '512x512',
type: 'image/png'
},
{
src: '/favicon-192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: '/favicon-128.png',
sizes: '128x128',
type: 'image/png'
}
]
}
})
],
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
}
};
export default config;