0.1.0 • Published 1 year ago
babel-plugin-reserve-name v0.1.0
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']
}
],
// ...
]
}