SVGR suggests adding a svgo.config.js file for the SVGO settings:
export default {
multipass: true,
plugins: [
"removeDimensions",
"removeXMLNS",
"convertOneStopGradients",
"preset-default",
"reusePaths",
"removeXlink",
],
};
But this file has no effect.
But if I create a .svgrrc.json:
{
"svgoConfig": {
"multipass": true,
"plugins": [
"removeDimensions",
"removeXMLNS",
"convertOneStopGradients",
"preset-default",
"reusePaths",
"removeXlink"
]
}
}
Then it works.
I would expect the SVGO settings in it's settings file to be applied.
SVGR suggests adding a
svgo.config.jsfile for the SVGO settings:But this file has no effect.
But if I create a
.svgrrc.json:{ "svgoConfig": { "multipass": true, "plugins": [ "removeDimensions", "removeXMLNS", "convertOneStopGradients", "preset-default", "reusePaths", "removeXlink" ] } }Then it works.
I would expect the SVGO settings in it's settings file to be applied.