I didn't have any luck with the babel plugin. I would've preferred that because I don't really like having to configure webpack either, but svgr worked out of the box and I suppose once you get used to configuring webpack in next it's not that big of a deal.
It seems like this is the same issue I had with the babel plugin: github.com/airbnb/babel-plugin-inl...
Seemingly its SVG parser has issues with some SVG files.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I didn't have any luck with the babel plugin. I would've preferred that because I don't really like having to configure webpack either, but svgr worked out of the box and I suppose once you get used to configuring webpack in next it's not that big of a deal.
It seems like this is the same issue I had with the babel plugin: github.com/airbnb/babel-plugin-inl...
Seemingly its SVG parser has issues with some SVG files.