Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

method to configure svgo? #27

Closed
stephenchai opened this issue Mar 1, 2017 · 3 comments
Closed

method to configure svgo? #27

stephenchai opened this issue Mar 1, 2017 · 3 comments
Labels
Milestone

Comments

@stephenchai
Copy link

Is there a way to specify either a custom .svgo.yml or use inline JSON to configure how I'd like svgo to behave?

In effect, I'd like to use something along the lines of svgeez -s ./img/input -d ./img/output --with-svgo --config=./.svgo-custom.yml

@jgarber623
Copy link
Owner

@stephenchai Thanks for the question!

At present, there's no way to configure SVGO through svgeez. There is an open PR (#21) that's somewhat related, but more limited in scope.

What kind of SVGO configuration would you want to do in a YML file?

@pmackay
Copy link

pmackay commented May 2, 2017

I'd also find custom configuration of SVGO very useful. An example would be to define a custom config to enable specific plugins.

@renatodeleao
Copy link

Shameless bump: Config for SVGO, via config file or CLI flags 👍

(works like charm aside from that)

@jgarber623 jgarber623 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants