Skip to content
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

Add option to disable optimization. #10

Closed
tkh44 opened this issue Apr 13, 2017 · 2 comments · Fixed by #15
Closed

Add option to disable optimization. #10

tkh44 opened this issue Apr 13, 2017 · 2 comments · Fixed by #15

Comments

@tkh44
Copy link
Contributor

tkh44 commented Apr 13, 2017

This would be useful in situations where svgs have already been run through an optimizer. Would you be open to a PR?

@kesne
Copy link
Collaborator

kesne commented Apr 25, 2017

Hey there! I'd be open to an option disabling the svgo pass. Maybe just passing svgo: false through the config would be best?

@chhuang
Copy link

chhuang commented Apr 27, 2017

This is useful as SVGs have already being optimised when they are exported from Sketch.

tkh44 pushed a commit to tkh44/babel-plugin-inline-react-svg that referenced this issue Jun 21, 2017
tkh44 pushed a commit to tkh44/babel-plugin-inline-react-svg that referenced this issue Jun 21, 2017
tkh44 pushed a commit to tkh44/babel-plugin-inline-react-svg that referenced this issue Jun 22, 2017
@kesne kesne closed this as completed in #15 Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants