Closed adam-lynch closed 9 years ago
Which version are you using?
0.4.8. Sorry about that! I had tried to re-install the latest but my npm / sinopia must've cached this somehow o_O.
No problem. I did a major version bump because the API changed. :smile:
For me, what was in the readme didn't work. I was getting errors that svgo was trying to loop over an obejct. From reading the source, it looks like you expect the plugins passed in, not a config object containing a
plugins
property. I don't know how the tests are passing but it works for me now when I pass the plugins array in as the param.