2013-11-15 07:07:14 +08:00
|
|
|
module.exports = function(config) {
|
|
|
|
|
return {
|
|
|
|
|
// copy source to temp, we will minify in place for the dist build
|
|
|
|
|
everything_but_less_to_temp: {
|
|
|
|
|
cwd: '<%= srcDir %>',
|
|
|
|
|
expand: true,
|
2015-09-10 01:34:24 +08:00
|
|
|
src: ['**/*', '!**/*.less'],
|
2013-11-15 07:07:14 +08:00
|
|
|
dest: '<%= tempDir %>'
|
2015-09-10 01:34:24 +08:00
|
|
|
},
|
|
|
|
|
|
2015-09-10 17:26:40 +08:00
|
|
|
everything_but_less: {
|
|
|
|
|
cwd: '<%= srcDir %>',
|
2015-09-10 01:34:24 +08:00
|
|
|
expand: true,
|
2015-09-10 17:26:40 +08:00
|
|
|
src: ['**/*', '!**/*.less'],
|
|
|
|
|
dest: '<%= genDir %>'
|
2013-11-15 07:07:14 +08:00
|
|
|
}
|
2015-09-10 01:34:24 +08:00
|
|
|
|
2013-11-15 07:07:14 +08:00
|
|
|
};
|
2014-12-31 18:50:34 +08:00
|
|
|
};
|