aboutsummaryrefslogtreecommitdiffstats
path: root/app/package.json
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-14 13:42:45 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-14 13:42:45 -0500
commit549ec6e29d6054323dd619d620e65460d7575bcd (patch)
tree4ac1815388bc4e6d33744342e487cc94aa528ae0 /app/package.json
parentEnable source maps (diff)
downloadtrinkets-549ec6e29d6054323dd619d620e65460d7575bcd.tar
trinkets-549ec6e29d6054323dd619d620e65460d7575bcd.tar.gz
trinkets-549ec6e29d6054323dd619d620e65460d7575bcd.tar.bz2
trinkets-549ec6e29d6054323dd619d620e65460d7575bcd.tar.lz
trinkets-549ec6e29d6054323dd619d620e65460d7575bcd.tar.xz
trinkets-549ec6e29d6054323dd619d620e65460d7575bcd.tar.zst
trinkets-549ec6e29d6054323dd619d620e65460d7575bcd.zip
Fix sourcemaps + typing
Diffstat (limited to 'app/package.json')
-rw-r--r--app/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/package.json b/app/package.json
index 2c0e0da..379d87b 100644
--- a/app/package.json
+++ b/app/package.json
@@ -12,6 +12,7 @@
"@sveltejs/kit": "^1.25.0",
"@tailwindcss/forms": "0.5.6",
"@tailwindcss/typography": "0.5.10",
+ "@types/html-minifier-terser": "^7.0.0",
"@types/node": "20.6.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
@@ -35,7 +36,7 @@
},
"private": true,
"scripts": {
- "build": "vite build",
+ "build": "vite build && mv .svelte-kit/output/server/sw.js.map .svelte-kit/output/server/workbox-*.map build/",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev",