Gruntfile.js 603 B

1234567891011121314151617181920212223242526
  1. module.exports = function(grunt) {
  2. //初始化配置grunt任务
  3. grunt.initConfig({
  4. concat: {//任务名称
  5. js: {
  6. src: ['global/js/cloud/curing.js','global/js/cloud/curingFN.js','global/js/cloud/curingHtml.js'],
  7. dest: 'global/js/cloud/curing.min.js'
  8. },
  9. // css: {
  10. // src: ['css/*.css'],
  11. // dest: 'build/all.css'
  12. // }
  13. }
  14. });
  15. grunt.loadNpmTasks('grunt-contrib-concat');
  16. //注册grunt默认任务
  17. grunt.registerTask('default', ['uglify']);
  18. };