aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/hooks.server.ts
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/src/hooks.server.ts
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 '')
-rw-r--r--app/src/hooks.server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/hooks.server.ts b/app/src/hooks.server.ts
index 163f640..aaf2757 100644
--- a/app/src/hooks.server.ts
+++ b/app/src/hooks.server.ts
@@ -10,6 +10,7 @@ const minification_options = {
ignoreCustomComments: [/^#/],
minifyCSS: true,
minifyJS: true,
+ minifyURLs: true,
removeAttributeQuotes: true,
removeComments: false, // some hydration code needs comments, so leave them in
removeOptionalTags: true,