airbnb/babel-plugin-inline-react-svg

Enable svgo removeXMLNS plugin by default

Open

#9 opened on Mar 21, 2017

 (7 comments) (0 reactions) (0 assignees)JavaScript (90 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (474 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This plugin removes the xmlns attribute from the top-level svg element, which is safe for inline SVGs, which is how all SVGs transformed by this plugin will end up being used. I think it makes sense to enable this plugin by default.

https://github.com/svg/svgo/blob/master/plugins/removeXMLNS.js

Contributor guide