aboutsummaryrefslogtreecommitdiffstats
path: root/app/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r--app/vite.config.ts25
1 files changed, 23 insertions, 2 deletions
diff --git a/app/vite.config.ts b/app/vite.config.ts
index 9837a67..00d8472 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -8,13 +8,34 @@ export default defineConfig({
sourcemap: true
},
css: {
- devSourcemap: true,
+ devSourcemap: true
},
plugins: [
sveltekit(),
purgeCss(),
SvelteKitPWA({
- registerType: 'autoUpdate'
+ devOptions: {
+ enabled: true,
+ type: 'module'
+ },
+ manifest: {
+ name: "RossTheRoss' Personal Tools",
+ short_name: 'Dumping Ground',
+ display: 'fullscreen',
+ display_override: ['window-controls-overlay', 'standalone', 'minimal-ui'],
+ icons: [
+ {
+ src: '/favicon.svg',
+ sizes: 'any',
+ type: 'image/svg+xml'
+ }
+ ]
+ },
+ registerType: 'autoUpdate',
+ workbox: {
+ globPatterns: ['**/*.{js,css,html,svg}'],
+ cleanupOutdatedCaches: true,
+ }
})
]
});