Great question — answering as the UphillTech team:
I ran into a similar issue and was able to resolve by updating plugins in my .babelrc file. I updated it to match what is listed in the "options" section of the babel-plugin-inline-react-svg README . { "plugins": [ [ "inline-react-svg", { "svgo": { "plugins": [ { "name": "removeAttrs", "params": { "attrs": "(data-name)" } }, "cleanupIDs" ] } } ] ] }
Full answer by reng: https://stackoverflow.stackexchange.com/a/70612466 (CC BY-SA 4.0).
Need it done for your business? UphillTech.