babel-plugin-transform-react-devtools-event
v0.0.0
Published
A babel transform plugin for transform the handleXXX function, publish event info for Chord Devtools autotest.
Downloads
2
Readme
babel-plugin-transform-react-devtools-event
A babel transform plugin for transform the handleXXX function, publish event info for Chord Devtools autotest.
Installation
$ npm install babel-plugin-transform-react-devtools-event
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["transform-react-devtools-event"]
}
Via CLI
$ babel --plugins transform-react-devtools-event index.js
Via Node API
require("babel-core").transform("code", {
plugins: ["transform-react-devtools-event"]
});