IT would be much better if this imagemin plugin could use svgo as a peerDependency.
Currently it uses svgo as a dependency, which prevents overriding it with a package of different version.
This will also fix https://github.com/imagemin/imagemin-svgo/issues/41.
IT would be much better if this imagemin plugin could use
svgo
as apeerDependency
. Currently it usessvgo
as a dependency, which prevents overriding it with a package of different version. This will also fix https://github.com/imagemin/imagemin-svgo/issues/41.Until
svgo
is used as apeerDependency
, some other mechanism has to be used to force a specificsvgo
version: https://stackoverflow.com/questions/15806152/how-do-i-override-nested-npm-dependency-versions