diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-26 21:14:00 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:44 -0300 |
commit | 62af25abcf598c1badc5cf019fb5d217c6f9ae7a (patch) | |
tree | c56349b1eb7e565a63c9880a39aa404eec6f54a6 /src/web-routes.js | |
parent | b537d4e1369d494a9cb2454086a47b507097b367 (diff) |
web-routes, search: make flexsearch available in client JS
Diffstat (limited to 'src/web-routes.js')
-rw-r--r-- | src/web-routes.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/web-routes.js b/src/web-routes.js index 6b1335ac..3d610011 100644 --- a/src/web-routes.js +++ b/src/web-routes.js @@ -36,7 +36,16 @@ export const stationaryCodeRoutes = [ }, ]; -export const dependencyRoutes = []; +export const dependencyRoutes = [ + { + from: + path.join( + getNodeDependencyRootPath('flexsearch'), + 'dist'), + + to: ['staticLib.path', 'flexsearch'], + }, +]; export const allStaticWebRoutes = [ ...stationaryCodeRoutes, |