« get me outta code hell

search, client: use json-compress and msgpackr for search indexes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/web-routes.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-13 14:03:03 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:53 -0300
commit30914eb56468b388e4b5cb2090292c5932171eb3 (patch)
tree6419b871ac9b8523a97b5d171e4e3cfa3c694d42 /src/web-routes.js
parent3b9f95a125d28b8cda3ebca1fe248e2026d2e56d (diff)
search, client: use json-compress and msgpackr for search indexes
Diffstat (limited to 'src/web-routes.js')
-rw-r--r--src/web-routes.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/web-routes.js b/src/web-routes.js
index 8bb2fba3..7e08d06f 100644
--- a/src/web-routes.js
+++ b/src/web-routes.js
@@ -60,8 +60,18 @@ export const dependencyRoutes = [
   }),
 
   quickNodeDependency({
+    name: 'compress-json',
+    path: '..', // exit dist, access bundle.js
+  }),
+
+  quickNodeDependency({
     name: 'flexsearch',
   }),
+
+  quickNodeDependency({
+    name: 'msgpackr',
+    path: 'dist',
+  }),
 ].flat();
 
 export const allStaticWebRoutes = [