mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-13 16:17:55 +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'
|
||||
|
||||
export default defineConfig({
|
||||
build: { outDir: 'docs' },
|
||||
plugins: [
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
manifest: {
|
||||
name: 'Sune',
|
||||
short_name: 'Sune',
|
||||
start_url: 'https://sune.planetrenox.com/',
|
||||
display: 'standalone',
|
||||
icons: [
|
||||
export default defineConfig({
|
||||
build: { outDir: 'docs' },
|
||||
plugins: [
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
manifest: {
|
||||
name: 'Sune',
|
||||
short_name: 'Sune',
|
||||
start_url: 'https://sune.planetrenox.com/',
|
||||
display: 'standalone',
|
||||
theme_color: '#000000',
|
||||
background_color: '#000000',
|
||||
icons: [
|
||||
{ src: 'https://sune.planetrenox.com/✺.png', sizes: '1024x1024', type: 'image/png' }
|
||||
]
|
||||
}
|
||||
})
|
||||
]
|
||||
]
|
||||
}
|
||||
})
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user