+1 vote
in JavaScript by
Minifying Images in Grunt.JS

1 Answer

0 votes
by
Minifying Images
Minifying Images

ImageMin helps to compress the gif, jpeg, and png files. This takes care of compressing both static and dynamic images. This will assist in improving the rendering of webpages using images of big size.

Installing the Imagemin plug-in could be achieved through below code

$ npm install grunt-contrib-imagemin --save-dev

Note: There is limit to the image file size. This cannot optimize files of huge size.

Related questions

+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
+1 vote
+1 vote
+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
...