rollup-plugin-commonjs : Convert CommonJS modules to ES2015. You can installing rollup-plugin-commonjs 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 rollup-plugin-commonjs $ sudo npm install -g rollup-plugin-commonjs
If want to update the rollup-plugin-commonjs package execute the command as below,
$ sudo npm update rollup-plugin-commonjs
Update package globally,
$ npm install -g rollup-plugin-commonjs
$ sudo git clone https://github.com/rektide/rollup-plugin-commonjs.git
$ sudo npm install -g ./rollup-plugin-commonjs
rollup-plugin-commonjs@8.2.6 /usr/lib/node_modules/rollup-plugin-commonjs
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall rollup-plugin-commonjs
| Package Name | rollup-plugin-commonjs |
| Version | 8.2.6 |
| Description | Convert CommonJS modules to ES2015 |
| Released Date | 2017-10-30T07:43:59.640Z |
| Published by | lukastaegert |
| How to Learn | https://www.npmjs.com/package/rollup-plugin-commonjs/tutorial |