1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 09:20:52 +01:00

Fixed SVG minimization - accidentally removed up ids

This commit is contained in:
squidfunk 2019-12-22 16:04:20 +01:00
parent fe86225ff9
commit 6769793f97

View File

@ -91,7 +91,7 @@ IMAGES_ICONS = $(subst src,material,$(wildcard src/assets/images/icons/*.svg))
material/assets/images/icons: ${IMAGES_ICONS}
material/assets/images/icons/%.svg: src/assets/images/icons/%.svg | $$(@D)/.
@ echo "+ $@"
@ ${BIN}/svgo -q -i $< -o $@ --disable=removeViewBox
@ ${BIN}/svgo -q -i $< -o $@ --disable=cleanupIDs,removeViewBox
# Images
IMAGES = $(subst src,material,$(wildcard src/assets/images/*.png))