From a6aac5ebc74e7454a7ca454bac9e04ed904029eb Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Thu, 30 Jan 2014 17:41:07 +0100 Subject: [PATCH] CSSmin task in Gruntfile --- Gruntfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index b9962d04f82..013fb0b7559 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -13,6 +13,11 @@ module.exports = function(grunt){ } } }, + + cssmin: { + "assets/css/woocommerce.css": ["assets/css/woocommerce.css"] + }, + }); // Load NPM tasks to be used here @@ -21,6 +26,6 @@ module.exports = function(grunt){ // Register tasks grunt.registerTask( 'default', []); - grunt.registerTask( 'dev', ["less:compile"]); + grunt.registerTask( 'dev', ["less:compile", "cssmin"]); }; \ No newline at end of file