Update vite.config.js

This commit is contained in:
2025-08-18 11:05:16 -07:00
committed by GitHub
parent 6caef2803a
commit 662e51e23e

View File

@@ -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' }
]
}
})
]
]
}
})
]
})