Added Yiistrap
This commit is contained in:
31
www/protected/extensions/bootstrap/Gruntfile.js
Normal file
31
www/protected/extensions/bootstrap/Gruntfile.js
Normal file
@@ -0,0 +1,31 @@
|
||||
// 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']);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user