optimize-svg: Clarify that you need to install svgo globally
Otherwise if you follow the command as previously printed, it will not show in PATH and also pollute the source directory with npm package files.
This commit is contained in:
parent
8fc25ee8a8
commit
4cc62a5dea
@ -2,7 +2,7 @@
|
||||
|
||||
if ! command -v svgo >/dev/null
|
||||
then
|
||||
echo "Please install svgo: npm install svgo"
|
||||
echo "Please install svgo: npm install -g svgo"
|
||||
exit 1
|
||||
fi
|
||||
# regarding convertStyleToAttrs, see: https://github.com/svg/svgo/issues/489
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user