woocommerce/Gruntfile.js

25 lines
643 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");
// Register tasks
grunt.registerTask( 'default', []);
grunt.registerTask( 'dev', ["less:compile"]);
2014-01-30 16:11:02 +00:00
};