@svgr/babel-plugin-remove-jsx-attribute
v8.0.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/babel-plugin-remove-jsx-attribute
Metadata
- MIT
- >=14
- Greg Bergé
- released 5/9/2023