Update vite.config.js

This commit is contained in:
2025-08-18 12:45:02 -07:00
committed by GitHub
parent 114ffab1de
commit 34bdb52a04

View File

@@ -1,20 +1,30 @@
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', id: 'https://sune.planetrenox.com/',
short_name: 'Sune', name: 'Sune',
start_url: '.', short_name: 'Sune',
display: 'standalone', description: 'OpenRouter GUI Frontend',
icons: [ start_url: 'https://sune.planetrenox.com/',
display: 'standalone',
orientation: 'portrait',
theme_color: '#000000',
background_color: '#000000',
categories: ['productivity', 'utilities'],
icons: [
{ src: 'https://sune.planetrenox.com/appstore_content/✺.png', sizes: '1024x1024', type: 'image/png' } { src: 'https://sune.planetrenox.com/appstore_content/✺.png', sizes: '1024x1024', type: 'image/png' }
] ],
} screenshots: [
}) { src: 'https://sune.planetrenox.com/appstore_content/screenshot1.jpg', sizes: '1344x2693', type: 'image/jpeg' },
] { src: 'https://sune.planetrenox.com/appstore_content/screenshot2.jpg', sizes: '1344x2699', type: 'image/jpeg' }
]
}
})
]
}) })