mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-14 00:27:56 +00:00
Update vite.config.js
This commit is contained in:
@@ -1,21 +1,22 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import { VitePWA } from 'vite-plugin-pwa'
|
import { VitePWA } from 'vite-plugin-pwa'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
build: { outDir: 'docs' },
|
build: { outDir: 'docs' },
|
||||||
plugins: [
|
plugins: [
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Sune',
|
name: 'Sune',
|
||||||
short_name: 'Sune',
|
short_name: 'Sune',
|
||||||
start_url: 'https://sune.planetrenox.com/',
|
start_url: 'https://sune.planetrenox.com/',
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
icons: [
|
theme_color: '#000000',
|
||||||
|
background_color: '#000000',
|
||||||
|
icons: [
|
||||||
{ src: 'https://sune.planetrenox.com/✺.png', sizes: '1024x1024', type: 'image/png' }
|
{ src: 'https://sune.planetrenox.com/✺.png', sizes: '1024x1024', type: 'image/png' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user