Closed dsine-de closed 2 years ago
Thanks for the bug report, looks like I didn't end up checking the non-default SVGO plugins. This should be fixed in 35fab37, could you verify that it's working for you by installing the plugin directly from GitHub before I create a patch release?
npm install cascornelissen/svg-spritemap-webpack-plugin#master
@cascornelissen Yes, this seems to fix it!
Awesome, thanks for reporting back. I've just published 4.3.1
which includes this fix 🚀
Description I updated from 4.2.0 to 4.3.0 with the following webpack configuration:
The removal of
fill
attributes worked in v4.2.0 but after updating to 4.3.0 the attributes are still being output. According to the docs of both SVGO and svg-spritemap-webpack-plugin there shouldn't be any breaking changes which requires the configuration to be updated.Expected behavior
fill
attributes should be removed like before.Actual behavior
fill
attributes are included in the SVG output.System information