grunt-contrib-uglify : Minify JavaScript files with UglifyJS. You can installing grunt-contrib-uglify 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 grunt-contrib-uglify $ sudo npm install -g grunt-contrib-uglify
If want to update the grunt-contrib-uglify package execute the command as below,
$ sudo npm update grunt-contrib-uglify
Update package globally,
$ npm install -g grunt-contrib-uglify
$ sudo git clone https://github.com/rektide/grunt-contrib-uglify.git
$ sudo npm install -g ./grunt-contrib-uglify
grunt-contrib-uglify@3.1.0 /usr/lib/node_modules/grunt-contrib-uglify
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall grunt-contrib-uglify
Package Name | grunt-contrib-uglify |
Version | 3.1.0 |
Description | Minify JavaScript files with UglifyJS |
Released Date | 2017-09-11T10:23:59.591Z |
Published by | xhmikosr |
How to Learn | https://www.npmjs.com/package/grunt-contrib-uglify/tutorial |