summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-01-23 11:03:58 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-02-28 12:27:41 +0100
commitb6487b70aaa199aba6ae999a9c99b340b5e98884 (patch)
tree544f9e14be9b2a158dd791545e10f7ad84ef3908 /manage
parente86bfa163bb9d69964efe511057ba496f7e7d587 (diff)
[web-client] simple theme: build & development env based on vite.
Vite is a build tool, it consists of two major parts [1]: - A dev server that provides rich feature enhancements over native ES modules, for example extremely fast Hot Module Replacement (HMR). - A build command that bundles your code with Rollup, pre-configured to output highly optimized static assets for production. [1] https://vite.dev/guide/ Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-xmanage4
1 files changed, 4 insertions, 0 deletions
diff --git a/manage b/manage
index 714f31512..a49ad0cfb 100755
--- a/manage
+++ b/manage
@@ -35,6 +35,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_go.sh"
# shellcheck source=utils/lib_redis.sh
source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_redis.sh"
+# shellcheck source=utils/lib_sxng_vite.sh
+source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_sxng_vite.sh"
+
PATH="${REPO_ROOT}/node_modules/.bin:${PATH}"
# config
@@ -102,6 +105,7 @@ EOF
test.help
themes.help
static.help
+ vite.help
cat <<EOF
environment ...
SEARXNG_REDIS_URL : ${SEARXNG_REDIS_URL}