@svgr/babel-plugin-remove-jsx-attribute
v4.2.0 babel-plugin
@svgr/babel-plugin-remove-jsx-attribute
Install
npm install --save-dev @svgr/babel-plugin-remove-jsx-attribute
Usage
.babelrc
{
"plugins": [
[
"@svgr/babel-plugin-remove-jsx-attribute",
{
"elements": ["svg"],
"attributes": ["width", "height"]
}
]
]
}
License
MIT
npm i @svgr/[email protected]
Source Code
github.com/smooth-code/svgr/...Metadata
- MIT
- >=8
- Greg Bergé
- released 4/11/2019