From 9c00d5b47d82da80605d78b762777aeb9a972e21 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 21 May 2024 08:50:20 -0300 Subject: url-spec, web-routes, content: static subdirectories --- src/web-routes.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/web-routes.js') diff --git a/src/web-routes.js b/src/web-routes.js index efd86ca1..619d5c62 100644 --- a/src/web-routes.js +++ b/src/web-routes.js @@ -16,13 +16,23 @@ function getNodeDependencyRootPath(dependencyName) { export const stationaryCodeRoutes = [ { - from: path.join(codeSrcPath, 'static'), - to: ['static.root'], + from: path.join(codeSrcPath, 'static', 'css'), + to: ['staticCSS.root'], + }, + + { + from: path.join(codeSrcPath, 'static', 'js'), + to: ['staticJS.root'], + }, + + { + from: path.join(codeSrcPath, 'static', 'misc'), + to: ['staticMisc.root'], }, { from: path.join(codeSrcPath, 'util'), - to: ['util.root'], + to: ['staticSharedUtil.root'], }, ]; -- cgit 1.3.0-6-gf8a5