babel-plugin-remove-jsx-attribute
v0.0.1
Published
a babel plugin for remove react element attribute
Downloads
7
Readme
babel-plugin-remove-jsx-attribute
remove the react element attribute in jsx
npm install babel-plugin-remove-jsx-attribute
can use like:
{
"presets": ["react"],
"plugins": [
[
"remove-jsx-attribute",
{ "attr": "data-test" }
]
]
}