-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
33 lines (32 loc) · 813 Bytes
/
Copy pathvite.config.ts
File metadata and controls
33 lines (32 loc) · 813 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
import { defineConfig } from 'vite'
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
base: '/son-kullan/',
plugins: [
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['icon.svg'],
manifest: {
name: 'Son Kullan',
short_name: 'SonKullan',
description: 'Ev stoğunu takip edin, önce tüketilecekleri görün.',
theme_color: '#293225',
background_color: '#f7f4eb',
display: 'standalone',
lang: 'tr',
icons: [
{
src: 'icon.svg',
sizes: 'any',
type: 'image/svg+xml',
purpose: 'any'
}
]
},
workbox: {
navigateFallback: 'index.html',
globPatterns: ['**/*.{js,css,html,svg}']
}
})
]
})