copy.js 420 B

12345678910111213141516171819
  1. module.exports = function(config) {
  2. return {
  3. // copy source to temp, we will minify in place for the dist build
  4. everything_but_less_to_temp: {
  5. cwd: '<%= srcDir %>',
  6. expand: true,
  7. src: ['**/*', '!**/*.less'],
  8. dest: '<%= tempDir %>'
  9. },
  10. public_to_gen: {
  11. cwd: '<%= srcDir %>',
  12. expand: true,
  13. src: ['**/*', '!**/*.less'],
  14. dest: '<%= genDir %>'
  15. }
  16. };
  17. };