babel-plugin-react-remove-classname
v1.0.0
Published
babel plugin for remove classname
Downloads
4,008
Readme
babel-plugin-react-remove-classname
babel plugin for remove classname
Install
npm:
$ npm install --save-dev babel-plugin-react-remove-classname
yarn:
$ yarn add --dev babel-plugin-react-remove-classname
Usage
.babelrc
{
"plugins": ["react-remove-classname"]
}
Options
prefix
Default: test-
Examples
const hello = () => <div className="test-a hello test-b"></div>
↓ ↓ ↓ ↓ ↓ ↓
const hello = () => <div className="hello"></div>
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco