Skip to content

Instantly share code, notes, and snippets.

@chadclark
Last active July 25, 2016 09:18
Show Gist options
  • Save chadclark/d54769526f0dfaaa62ea to your computer and use it in GitHub Desktop.
Save chadclark/d54769526f0dfaaa62ea to your computer and use it in GitHub Desktop.
Gulp Imagemin SVGO + Sketch.app Happiness
Being frustrated for the 87th time after SVGO (via gulp-imagemin) rendered my SVG files exported from Sketch.app useless, I tested to figure out which SVGO plugins to disable.
svgoPlugins: [
{ collapseGroups : false },
{ removeUnknownsAndDefaults : false },
{ removeUselessStrokeAndFill: false },
{ removeViewBox : false }
]
@wcandillon
Copy link

Doesn't work for me, experiencing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment