babel-plugin-transform-react-r : Remove unnecessary React propTypes from the production build. You can installing babel-plugin-transform-react-r npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install babel-plugin-transform-react-r $ sudo npm install -g babel-plugin-transform-react-r
If want to update the babel-plugin-transform-react-r package execute the command as below,
$ sudo npm update babel-plugin-transform-react-r
Update package globally,
$ npm install -g babel-plugin-transform-react-r
$ sudo git clone https://github.com/rektide/babel-plugin-transform-react-r.git
$ sudo npm install -g ./babel-plugin-transform-react-r
babel-plugin-transform-react-r@0.4.10 /usr/lib/node_modules/babel-plugin-transform-react-r
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall babel-plugin-transform-react-r
Package Name | babel-plugin-transform-react-r |
Version | 0.4.10 |
Description | Remove unnecessary React propTypes from the production build |
Released Date | 2017-10-12T20:40:34.352Z |
Published by | oliviertassinari |
How to Learn | https://www.npmjs.com/package/babel-plugin-transform-react-r/tutorial |