Svgo: convertStyleToAttrs working?

Created on 7 Dec 2016  路  2Comments  路  Source: svg/svgo

I make svgo --enable convertStyleToAttrs -f . -o ./opt ,
but to see the output folder files tagged with style andclass at paths
what am I doing wrong? ))

Most helpful comment

Using the inlineStyles plugin before convertStyleToAttrs plugin would
make this possible, see related PR https://github.com/svg/svgo/pull/592 .

All 2 comments

@nicothinconvertStyleToAttrs plugin converts the style attribute form each node, not the classes referenced from <style> ~ Example

Using the inlineStyles plugin before convertStyleToAttrs plugin would
make this possible, see related PR https://github.com/svg/svgo/pull/592 .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bmcminn picture bmcminn  路  4Comments

ai picture ai  路  5Comments

guylando picture guylando  路  3Comments

elidupuis picture elidupuis  路  5Comments

onlymega picture onlymega  路  6Comments