JSPM

babel-plugin-react-remove-classname

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 346
  • Score
    100M100P100Q99164F
  • License MIT

babel plugin for remove classname

Package Exports

  • babel-plugin-react-remove-classname

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-plugin-react-remove-classname) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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