summaryrefslogtreecommitdiff
path: root/client/simple/src
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 /client/simple/src
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 'client/simple/src')
-rw-r--r--client/simple/src/js/searxng.head.js1
-rw-r--r--client/simple/src/js/searxng.js7
2 files changed, 8 insertions, 0 deletions
diff --git a/client/simple/src/js/searxng.head.js b/client/simple/src/js/searxng.head.js
new file mode 100644
index 000000000..895c95f94
--- /dev/null
+++ b/client/simple/src/js/searxng.head.js
@@ -0,0 +1 @@
+import "./head/00_init.js";
diff --git a/client/simple/src/js/searxng.js b/client/simple/src/js/searxng.js
new file mode 100644
index 000000000..c9a6eea43
--- /dev/null
+++ b/client/simple/src/js/searxng.js
@@ -0,0 +1,7 @@
+import "./main/00_toolkit.js";
+import "./main/infinite_scroll.js";
+import "./main/keyboard.js";
+import "./main/mapresult.js";
+import "./main/preferences.js";
+import "./main/results.js";
+import "./main/search.js";