300+ free video programming tutorials ― Learn for free!

Grunt Tutorial - #3 - Minifying CSS Files

Category: Grunt - Author: Karl Hadwen

Home > Grunt > Grunt Tutorial - #3 - Minifying CSS Files

Did you find this video helpful? If so, why not subscribe!? ? http://bit.ly/CognitiveSurge

The best shared web hosting: https://www.bluehost.com/track/karlhadwen/

The best simple cloud hosting for developers: https://m.do.co/c/426ceabcea09

Installation command:

sudo npm install grunt-contrib-cssmin --save-dev (drop the sudo if you're on Windows)

Make sure to add the following bit of JavaScript to your Gruntfile: grunt.loadNpmTasks('grunt-contrib-cssmin');

Grunt CSS min: https://github.com/gruntjs/grunt-contrib-cssmin

Want to stay up to date with commonly asked questions & answers, or how about a monthly digest of useful resources that I've found online? Go ahead and sign up to the Cognitive Surge community mailing list here: http://eepurl.com/bG93vz

A really useful link on configuring tasks: http://gruntjs.com/configuring-tasks

Like the Cognitive Surge Facebook page
https://www.facebook.com/cognitivesurge

Follow me on Twitter (Feel free to tweet me questions!)
https://twitter.com/karlhadwen