Babel Plugin for removing warning call
This plugin removes development warning from production code. It's recommended to be used with https://github.com/r3dm/warning.
Example
In
;
Out
if processenvNODE_ENV !== 'production' ;
Installation
$ npm install --save-dev babel-plugin-transform-dev-warning
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins transform-dev-warning script.js
Via Node API
;
License
MIT