babel-plugin-react-remove-classname

1.0.0 • Public • Published

babel-plugin-react-remove-classname

Build Status tested with jest styled with prettier All Contributors

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):

akameco
akameco

💻 📖 ⚠️ 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-react-remove-classname

Weekly Downloads

572

Version

1.0.0

License

MIT

Unpacked Size

9 kB

Total Files

9

Last publish

Collaborators

  • akameco