diff options
-rw-r--r-- | src/url-spec.js | 5 | ||||
-rw-r--r-- | src/web-routes.js | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/url-spec.js b/src/url-spec.js index 39f79459..dc4673e5 100644 --- a/src/url-spec.js +++ b/src/url-spec.js @@ -82,6 +82,11 @@ const urlSpec = { paths: genericPaths, }, + staticLib: { + prefix: `static-${STATIC_VERSION}/lib/`, + paths: genericPaths, + }, + staticMisc: { prefix: `static-${STATIC_VERSION}/misc/`, paths: { 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, |