Update vite.config.js

This commit is contained in:
2025-08-17 17:43:42 -07:00
committed by GitHub
parent 0937504cec
commit a340080f25

View File

@@ -1,7 +1,21 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vite'
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
build: {
outDir: 'docs'
}
export default defineConfig({
build: { outDir: 'docs' },
plugins: [
VitePWA({
registerType: 'autoUpdate',
manifest: {
name: 'Sune',
short_name: 'Sune',
start_url: '.',
display: 'standalone',
icons: [
{ src: 'https://sune.planetrenox.com/✺.png', sizes: '1024x1024', type: 'image/png' }
]
}
})
]
})