grunt-contrib-clean task helps to clean the file and folder. This will be used to remove all the unwanted content.
grunt-contrib-clean
Install the clean plug-in through below syntax:
clean
$ npm install grunt-contrib-clean --save-dev