Thanks for the insight @neoziro !
Use .svgrrc with the following content
{
"svgoConfig": {
"plugins": [
{
"inlineStyles": {
"onlyMatchedOnce": false
}
}
]
}
}
Originally posted by @7ynk3r in #245 (comment)
Took me two hours to find this and figure out how to make the config work, no single examples were provided on how to use the config reading multiple documention pages and some more stuff I figured out how to set it up for the cli version, you could document this that it adds style support and also really easy to setup if an example was provided.
Thanks for the insight @neoziro !
Use
.svgrrcwith the following content{ "svgoConfig": { "plugins": [ { "inlineStyles": { "onlyMatchedOnce": false } } ] } }Originally posted by @7ynk3r in #245 (comment)
Took me two hours to find this and figure out how to make the config work, no single examples were provided on how to use the config reading multiple documention pages and some more stuff I figured out how to set it up for the cli version, you could document this that it adds style support and also really easy to setup if an example was provided.