aboutsummaryrefslogtreecommitdiffstats
path: root/app/vite.config.ts
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-14 13:34:58 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-14 13:34:58 -0500
commit059f6c018204eb5c1d7ee8f1c7124d572774464b (patch)
treedeb85317b5a87f5ad4719f2f7ff816eb03b2102f /app/vite.config.ts
parentAdd basic PWA support (diff)
downloadtrinkets-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.ts6
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(),