Closed jimthedev closed 9 years ago
Removing my gulp-svg min from my node_modules and re running npm install
worked to get the latest version.
For future people that might surf across this issue with regards to animated svgs and svgo. I ended up needing to disable the following plugins for my animated svg, even after this fix: removeHiddenElems, cleanupIDs, removeUselessDefs. I am using this as my example svg: http://commons.wikimedia.org/wiki/File:Trajans-Column-lower-animated.svg
This leaves more artifacts in the image but I still achieved about 37% compression which is pretty good.
Allo, allo.
svgo 0.5.1 applies a fix that stops animated svgs from breaking.
Here is the issue and commit that resolves it:
https://github.com/svg/svgo/issues/213 https://github.com/svg/svgo/commit/5f892ee7dd27c0fd8f9a241abc392ef0d5eb0c98