1
0
www.mikescher.com/www/protected/extensions/bootstrap/Gruntfile.js
2014-05-13 14:06:18 +02:00

31 lines
555 B
JavaScript

// The wrapper function
module.exports = function(grunt) {
// Project and task configuration
grunt.initConfig({
less: {
development: {
files: {
"assets/css/yiistrap.css": "assets/less/yiistrap.less"
}
},
production: {
options: {
compress: true,
yuicompress: true,
optimization: 2
},
files: {
"assets/css/yiistrap.min.css": "assets/less/yiistrap.less"
}
}
}
});
// Load plugins
grunt.loadNpmTasks('grunt-contrib-less');
// Define tasks
grunt.registerTask('default', ['less']);
};