babel-plugin-react-originjs
Make react-components into original js
A babel plugin that make react-components into original js.
Before:
ReactDOM
After:
window'ICAT' && window'ICAT'react? ICAT : ReactDOM;
Installation
$ npm install babel-plugin-react-originjs
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins react-originjs script.js
Via Node API
;
License
MIT