diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-14 13:34:58 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-14 13:34:58 -0500 |
commit | 059f6c018204eb5c1d7ee8f1c7124d572774464b (patch) | |
tree | deb85317b5a87f5ad4719f2f7ff816eb03b2102f /app/vite.config.ts | |
parent | Add basic PWA support (diff) | |
download | trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.tar trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.tar.gz trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.tar.bz2 trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.tar.lz trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.tar.xz trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.tar.zst trinkets-059f6c018204eb5c1d7ee8f1c7124d572774464b.zip |
Enable source maps
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r-- | app/vite.config.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/vite.config.ts b/app/vite.config.ts index 61caf0e..9837a67 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -4,6 +4,12 @@ import { defineConfig } from 'vite'; import { SvelteKitPWA } from '@vite-pwa/sveltekit'; export default defineConfig({ + build: { + sourcemap: true + }, + css: { + devSourcemap: true, + }, plugins: [ sveltekit(), purgeCss(), |