New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: remove useless masks #34
Comments
Can we remove |
Is there a way to integrate it @peternowell ? |
Version 1.6.0 allows to load a custom SVGO plugin by specifying a relative path: https://github.com/BohemianCoding/svgo-compressor#custom-svgo-plugins It does require Sketch 52 tho. Feel free to send a PR to add your svgo plugin to the list if you end up building it :) It seems that someone started a plugin that does exactly this: svg/svgo#670 |
sir, tried this file and mask is still there: Input: Output: EDIT: realized you were answering to zomars |
Was this ever solved? I'm having the same issue with svgs exported from sketch. |
I guess not. Ended up doing it manually, removing every extra layer in the original Sketch file 'til it worked. |
Description
given an svg file:
I'd like to remove the useless mask that sketch produces from the artboard/symbol and instead of the use xlink:href="#a-to-z" it should inline the path and remove defs.
Context
Chrome doesn't render masks correctly.
The text was updated successfully, but these errors were encountered: