[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>
This commit is contained in:
Alexandre Flament
2021-11-23 20:18:09 +01:00
committed by Markus Heiser
parent 8c4c4259d4
commit 59f4c792b4
3 changed files with 42 additions and 30 deletions

View File

@@ -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",