babel-plugin-react-require : Babel plugin that adds React import declaration if file contains JSX tags.. You can installing babel-plugin-react-require 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-react-require $ sudo npm install -g babel-plugin-react-require
If want to update the babel-plugin-react-require package execute the command as below,
$ sudo npm update babel-plugin-react-require
Update package globally,
$ npm install -g babel-plugin-react-require
$ sudo git clone https://github.com/rektide/babel-plugin-react-require.git
$ sudo npm install -g ./babel-plugin-react-require
babel-plugin-react-require@3.0.0 /usr/lib/node_modules/babel-plugin-react-require
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall babel-plugin-react-require
Package Name | babel-plugin-react-require |
Version | 3.0.0 |
Description | Babel plugin that adds React import declaration if file contains JSX tags. |
Released Date | 2016-10-11T18:29:28.576Z |
Published by | vslinko |
How to Learn | https://www.npmjs.com/package/babel-plugin-react-require/tutorial |