babel-plugin-reserve-name
v0.1.0
Published
reserve onClick function name in jsx
Downloads
3
Readme
babel-plugin-reserve-name
Reserve onClick
function name in jsx.
Install
npm install babel-plugin-reserve-name --save-dev
Usage
.babelrc
module.exports = {
//...
plugins: [
[
'babel-plugin-reserve-name',
{
includes: <search range> // default: ['src']
}
],
// ...
]
}