diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-11-23 20:18:09 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-28 20:05:37 +0100 |
| commit | 59f4c792b498ef399dad5643576327da8ed122f2 (patch) | |
| tree | 315bd7aa599b5b5543f0fed7f98bbebac9b6d0c0 /searx/static/themes/simple/package.json | |
| parent | 8c4c4259d4f9a856c8c7773591b40be9aef97bb1 (diff) | |
[mod] simple theme: use sharp instead of convert to create .png from .svg
define a custom grunt task, since grunt-sharp is too old (it can't be installed).
in gruntfile.js, the image tasks are moved at the end the build chain.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/package.json')
| -rw-r--r-- | searx/static/themes/simple/package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json index 25797b8fe..0cf6c4f64 100644 --- a/searx/static/themes/simple/package.json +++ b/searx/static/themes/simple/package.json @@ -16,6 +16,7 @@ "ionicons": "^6.0.0", "less": "^4.1.1", "less-plugin-clean-css": "^1.5.1", + "sharp": "^0.29.3", "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0", "ejs": "^3.1.6", |