babel-plugin-module-alias : Babel plugin to rewrite the path in require() and ES6 import. You can installing babel-plugin-module-alias 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-module-alias $ sudo npm install -g babel-plugin-module-alias
If want to update the babel-plugin-module-alias package execute the command as below,
$ sudo npm update babel-plugin-module-alias
Update package globally,
$ npm install -g babel-plugin-module-alias
$ sudo git clone https://github.com/rektide/babel-plugin-module-alias.git
$ sudo npm install -g ./babel-plugin-module-alias
babel-plugin-module-alias@1.6.0 /usr/lib/node_modules/babel-plugin-module-alias
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall babel-plugin-module-alias
Package Name | babel-plugin-module-alias |
Version | 1.6.0 |
Description | Babel plugin to rewrite the path in require() and ES6 import |
Released Date | 2016-07-24T17:16:23.053Z |
Published by | tleunen |
How to Learn | https://www.npmjs.com/package/babel-plugin-module-alias/tutorial |