You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
661 B
29 lines
661 B
10 years ago
|
/**
|
||
|
* Compiles LESS files into CSS.
|
||
|
*
|
||
|
* ---------------------------------------------------------------
|
||
|
*
|
||
|
* Only the `assets/styles/importer.less` is compiled.
|
||
|
* This allows you to control the ordering yourself, i.e. import your
|
||
|
* dependencies, mixins, variables, resets, etc. before other stylesheets)
|
||
|
*
|
||
|
* For usage docs see:
|
||
|
* https://github.com/gruntjs/grunt-contrib-less
|
||
|
*/
|
||
|
module.exports = function(grunt) {
|
||
|
|
||
|
grunt.config.set('less', {
|
||
|
dev: {
|
||
|
files: [{
|
||
|
expand: true,
|
||
|
cwd: 'assets/styles/',
|
||
|
src: ['importer.less'],
|
||
|
dest: '.tmp/public/styles/',
|
||
|
ext: '.css'
|
||
|
}]
|
||
|
}
|
||
|
});
|
||
|
|
||
|
grunt.loadNpmTasks('grunt-contrib-less');
|
||
|
};
|