PWA
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m24s

This commit is contained in:
eewing
2026-02-19 07:41:49 -06:00
parent 5776a1fdb1
commit c0fae761da
10919 changed files with 874329 additions and 13511 deletions
+21 -1
View File
@@ -1,7 +1,27 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
import { defineConfig } from 'vite';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
plugins: [tailwindcss(), sveltekit()]
plugins: [
tailwindcss(),
sveltekit(),
SvelteKitPWA({
registerType: 'autoUpdate',
manifest: {
name: 'Base',
short_name: 'Base',
description: 'Base app',
theme_color: '#0f172a',
background_color: '#ffffff',
display: 'standalone',
start_url: '/',
icons: [
{ src: '/favicon.png', sizes: '192x192', type: 'image/png', purpose: 'any' },
{ src: '/favicon.png', sizes: '512x512', type: 'image/png', purpose: 'any maskable' }
]
}
})
]
});