ben-eb / gulp-svgmin

Minify SVG files with gulp.
MIT License
341 stars 35 forks source link

Config object format is wrong #24

Closed adam-lynch closed 9 years ago

adam-lynch commented 9 years ago

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.

ben-eb commented 9 years ago

Which version are you using?

adam-lynch commented 9 years ago

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.

ben-eb commented 9 years ago

No problem. I did a major version bump because the API changed. :smile: