@svgr/babel-plugin-remove-jsx-attribute
v6.0.0-alpha.1 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]
Metadata
- MIT
- >=10
- Greg Bergé
- released 10/31/2021