diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-15 13:54:56 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-15 13:56:50 -0500 |
commit | 2074c9c732f6d279f5153688b9e33bdc8c9c7674 (patch) | |
tree | 0ae640f9966cc8ae74abe28a1520b23ac610c604 /app/vite.config.ts | |
parent | Create dependabot.yml (diff) | |
download | trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.gz trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.bz2 trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.lz trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.xz trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.zst trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.zip |
Here goes nothing!
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r-- | app/vite.config.ts | 25 |
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, + } }) ] }); |