From 60bd8b90f04d5d825fc8ac279cb7fdfde9fe78ea Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Sun, 6 Jul 2025 12:27:28 +0200 Subject: [enh] theme/simple: custom router Lay the foundation for loading scripts granularly depending on the endpoint it's on. Remove vendor specific prefixes as there are now managed by browserslist and LightningCSS. Enabled quite a few rules in Biome that don't come in recommended to better catch issues and improve consistency. Related: - https://github.com/searxng/searxng/pull/5073#discussion_r2256037965 - https://github.com/searxng/searxng/pull/5073#discussion_r2256057100 --- client/simple/src/js/core/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 client/simple/src/js/core/index.ts (limited to 'client/simple/src/js/core/index.ts') diff --git a/client/simple/src/js/core/index.ts b/client/simple/src/js/core/index.ts new file mode 100644 index 000000000..a4021beb9 --- /dev/null +++ b/client/simple/src/js/core/index.ts @@ -0,0 +1,9 @@ +/** + * @preserve (C) Copyright Contributors to the SearXNG project. + * @preserve (C) Copyright Contributors to the searx project (2014 - 2021). + * @license AGPL-3.0-or-later + */ + +import "./router.ts"; +import "./toolkit.ts"; +import "./listener.ts"; -- cgit v1.2.3