-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts
63 lines (62 loc) · 1.69 KB
/
vite.config.ts
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import { defineConfig } from 'vite';
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
base: `/minecraft-asset-extractor/`,
publicDir: 'assets',
plugins: [
VitePWA({
injectRegister: 'auto',
manifest: {
"name": "Minecraft Asset Extractor",
"short_name": "MC Extractor",
"start_url": ".",
"display": "standalone",
"background_color": "#9E512F",
"theme_color": "#9E512F",
"description": "A web app that aims to simplify the process of extracting Minecraft's built-in game assets, including things like textures, sounds, models, JSON data, and more. This app works entirely through your browser.",
"icons": [
{
"src": "icon48x.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "icon72x.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "icon96x.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "icon144x.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "icon168x.png",
"sizes": "168x168",
"type": "image/png"
},
{
"src": "icon192x.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icon256x.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "icon512x.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
})
]
});