-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.js
More file actions
32 lines (31 loc) · 763 Bytes
/
Copy pathvite.config.js
File metadata and controls
32 lines (31 loc) · 763 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
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { defineConfig } from 'vite'
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
plugins: [
svelte(),
VitePWA({
registerType: 'autoUpdate',
manifest: {
name: 'Jigsaw Puzzle',
short_name: 'Puzzle',
description: 'Simple jigsaw puzzle game.',
theme_color: '#ffe4c4', // 'brisque'
includeAssets: ['./src/blur.jpg'],
icons: [
{
src: 'favicon.png',
sizes: '64x64',
type: 'image/png'
},
{
src: 'favicon.svg',
sizes: 'any',
type: 'image/svg+xml'
}
]
}
})
],
base: '/jigsaw-puzzle/'
})