woocommerce/Gruntfile.js

26 lines
691 B
JavaScript
Raw Normal View History

2014-01-30 16:11:02 +00:00
module.exports = function(grunt){
grunt.initConfig({
// Compile specified less files
less: {
compile: {
options: {
// These paths are searched for @imports
paths: ["assets/css"]
},
files: {
"assets/css/woocommerce.css": "assets/css/woocommerce.less"
}
}
},
2014-01-30 16:11:02 +00:00
});
// Load NPM tasks to be used here
grunt.loadNpmTasks("grunt-contrib-less");
2014-01-30 16:37:59 +00:00
grunt.loadNpmTasks("grunt-contrib-cssmin");
// Register tasks
grunt.registerTask( 'default', []);
grunt.registerTask( 'dev', ["less:compile"]);
2014-01-30 16:11:02 +00:00
};