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