Closed Kreeg closed 1 year ago
I assume you tested it, @Kreeg, right? I don't really use gulp or grunt a lot nowadays :)
I can make a new release after this is merged.
I changed svg-sprite package's file to throw errors and it seems to do well There is some refactoring ahead in the main package. Sometime we throw formatted error like
error = util.format('SVGSpriter.add: "%s" is not the local part of "%s"', name, file);
Sometimes we rely on winston logger, like
spriter.error('Optimizing "%s" with SVGO failed with error "%s"', shape.name, error);
I think these should be unified
Your call, but I agree we should be consistent. BTW, if we could replace winston with something smaller that has the same features we currently use that would make more sense.
@XhmikosR hello. I think we're ready for new release.
Fixes #82