summaryrefslogtreecommitdiff
path: root/client/simple/vite.config.ts
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-09-12 10:59:25 +0200
committerGitHub <noreply@github.com>2025-09-12 10:59:25 +0200
commit687121d58497ff170467d6b14988bde11d91516c (patch)
tree644928f0d35a54b0cfaceec98eb5e24b39adb92e /client/simple/vite.config.ts
parent4694ba202a7855b0a063df4704a6c4a5607df96f (diff)
[upd] web-client (simple): Bump the minor group in /client/simple with 2 updates (#5202)
* [upd] web-client (simple): Bump the minor group Bumps the minor group in /client/simple with 2 updates: [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) and [stylelint](https://github.com/stylelint/stylelint). Updates `@biomejs/biome` from 2.2.2 to 2.2.4 - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.4/packages/@biomejs/biome) Updates `stylelint` from 16.23.1 to 16.24.0 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.23.1...16.24.0) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.2.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: stylelint dependency-version: 16.24.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> * update biome schema * update rolldown --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net>
Diffstat (limited to 'client/simple/vite.config.ts')
-rw-r--r--client/simple/vite.config.ts57
1 files changed, 43 insertions, 14 deletions
diff --git a/client/simple/vite.config.ts b/client/simple/vite.config.ts
index 4de6a3c9e..ac1944a37 100644
--- a/client/simple/vite.config.ts
+++ b/client/simple/vite.config.ts
@@ -39,13 +39,11 @@ export default {
build: {
target: browserslistToEsbuild(manifest.browserslist),
- manifest: "manifest.json",
- emptyOutDir: true,
assetsDir: "",
outDir: PATH.dist,
-
+ manifest: "manifest.json",
+ emptyOutDir: true,
sourcemap: true,
-
rolldownOptions: {
input: {
// build CSS files
@@ -56,7 +54,7 @@ export default {
// build script files
"searxng.core": `${PATH.src}/js/core/index.ts`,
- // ol
+ // ol pkg
ol: `${PATH.src}/js/pkg/ol.ts`,
"ol.css": `${PATH.modules}/ol/ol.css`
},
@@ -108,37 +106,68 @@ export default {
// -- svg images
plg_svg2svg(
[
- { src: `${PATH.src}/svg/empty_favicon.svg`, dest: `${PATH.dist}/img/empty_favicon.svg` },
- { src: `${PATH.src}/svg/select-dark.svg`, dest: `${PATH.dist}/img/select-dark.svg` },
- { src: `${PATH.src}/svg/select-light.svg`, dest: `${PATH.dist}/img/select-light.svg` }
+ {
+ src: `${PATH.src}/svg/empty_favicon.svg`,
+ dest: `${PATH.dist}/img/empty_favicon.svg`
+ },
+ {
+ src: `${PATH.src}/svg/select-dark.svg`,
+ dest: `${PATH.dist}/img/select-dark.svg`
+ },
+ {
+ src: `${PATH.src}/svg/select-light.svg`,
+ dest: `${PATH.dist}/img/select-light.svg`
+ }
],
svg2svg_opts
),
// SearXNG brand (static)
plg_svg2png([
- { src: `${PATH.brand}/searxng-wordmark.svg`, dest: `${PATH.dist}/img/favicon.png` },
- { src: `${PATH.brand}/searxng.svg`, dest: `${PATH.dist}/img/searxng.png` }
+ {
+ src: `${PATH.brand}/searxng-wordmark.svg`,
+ dest: `${PATH.dist}/img/favicon.png`
+ },
+ {
+ src: `${PATH.brand}/searxng.svg`,
+ dest: `${PATH.dist}/img/searxng.png`
+ }
]),
// -- svg
plg_svg2svg(
[
- { src: `${PATH.brand}/searxng.svg`, dest: `${PATH.dist}/img/searxng.svg` },
- { src: `${PATH.brand}/img_load_error.svg`, dest: `${PATH.dist}/img/img_load_error.svg` }
+ {
+ src: `${PATH.brand}/searxng.svg`,
+ dest: `${PATH.dist}/img/searxng.svg`
+ },
+ {
+ src: `${PATH.brand}/img_load_error.svg`,
+ dest: `${PATH.dist}/img/img_load_error.svg`
+ }
],
svg2svg_opts
),
// -- favicon
plg_svg2svg(
- [{ src: `${PATH.brand}/searxng-wordmark.svg`, dest: `${PATH.dist}/img/favicon.svg` }],
+ [
+ {
+ src: `${PATH.brand}/searxng-wordmark.svg`,
+ dest: `${PATH.dist}/img/favicon.svg`
+ }
+ ],
svg2svg_favicon_opts
),
// -- simple templates
plg_svg2svg(
- [{ src: `${PATH.brand}/searxng-wordmark.svg`, dest: `${PATH.templates}/searxng-wordmark.min.svg` }],
+ [
+ {
+ src: `${PATH.brand}/searxng-wordmark.svg`,
+ dest: `${PATH.templates}/searxng-wordmark.min.svg`
+ }
+ ],
svg2svg_opts
)
], // end: plugins