Roots Discourse

Yarn build:production combined the svg files

sage9

#1

When i run yarn build:production command, the svgs files show incorrectly, for istance 2 icons are combined or some svg images apeear with a border etc…
svgerror

this is the original image :
svgoriginal


#2

The Sage build process uses SVGO, which you can configure in webpack.config.optimize.js. You might try looking at some of the settings the SVGO offers to see what might be causing your issue: https://github.com/svg/svgo#what-it-can-do