aboutsummaryrefslogtreecommitdiffstats
path: root/app/vite.config.ts
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-29 10:11:33 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-29 10:11:33 -0500
commit11ece69e006b446b9ca4e06eb5af5662bc811469 (patch)
tree29dbb0b4b88aa9eae29d80f5ebc08b8f710f51f8 /app/vite.config.ts
parentUpdate dep + fix build (diff)
downloadtrinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.tar
trinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.tar.gz
trinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.tar.bz2
trinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.tar.lz
trinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.tar.xz
trinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.tar.zst
trinkets-11ece69e006b446b9ca4e06eb5af5662bc811469.zip
Formatting
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r--app/vite.config.ts32
1 files changed, 16 insertions, 16 deletions
diff --git a/app/vite.config.ts b/app/vite.config.ts
index e34d72a..ec95532 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -1,14 +1,14 @@
-import { purgeCss } from 'vite-plugin-tailwind-purgecss';
-import { sveltekit } from '@sveltejs/kit/vite';
-import { defineConfig } from 'vite';
-import { SvelteKitPWA } from '@vite-pwa/sveltekit';
+import { purgeCss } from 'vite-plugin-tailwind-purgecss'
+import { sveltekit } from '@sveltejs/kit/vite'
+import { defineConfig } from 'vite'
+import { SvelteKitPWA } from '@vite-pwa/sveltekit'
export default defineConfig({
build: {
- sourcemap: true
+ sourcemap: true,
},
css: {
- devSourcemap: true
+ devSourcemap: true,
},
plugins: [
sveltekit(),
@@ -16,7 +16,7 @@ export default defineConfig({
SvelteKitPWA({
devOptions: {
enabled: true,
- type: 'module'
+ type: 'module',
},
manifest: {
name: "RossTheRoss' Personal Tools",
@@ -28,22 +28,22 @@ export default defineConfig({
src: '/favicon.svg',
sizes: 'any',
type: 'image/svg+xml',
- purpose: 'maskable'
+ purpose: 'maskable',
},
{
src: '/pwa-512x512.png',
sizes: '512x512',
- type: 'image/png'
- }
+ type: 'image/png',
+ },
],
id: '/',
- theme_color: '#000000'
+ theme_color: '#000000',
},
registerType: 'autoUpdate',
workbox: {
globPatterns: ['client/**/*.{js,css,html,svg}'],
- cleanupOutdatedCaches: true
- }
- })
- ]
-});
+ cleanupOutdatedCaches: true,
+ },
+ }),
+ ],
+})