copy.js 435 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. app_gen_build: {
  11. cwd: '<%= srcDir %>/app',
  12. expand: true,
  13. src: ['**/*.js', '**/*.html'],
  14. dest: '<%= srcDir %>/.app_gen'
  15. }
  16. };
  17. };