The following will minify your assets with grunt each time a generation write completes.
-
Install Dependencies
npm install --save grunt safeps npm install --save grunt-cli
-
Create your website's
Gruntfile.js
file to specify what we should do with Grunt. Guide here.