Open wasap opened 1 year ago
when i used in webpack raw svgo loader
{
loader: 'svgo-loader',
options: {
plugins: [
'preset-default',
'prefixIds',
{ 'name': 'removeViewBox', 'active': false },
{ 'name': 'removeDimensions' },
{
'name': 'removeAttrs',
'params': {
attrs: '*:(stroke|fill):((?!^none$).)*',
},
},
],
},
},
it responded me svg with plugins applied, but here i found that you just return raw text without processing. so i made it similar to webpack
Thanks for your explanation. I understand it now! Can you fix my comment? Then i'll merge it
@jpkleemans any progress on this? can you apply the change yourself?
hi, i fixed your request, please reviw
Hi, thanks for your PR! Could you add a Cypress test that shows the problem this PR solves? (That test should fail without your fix)