Gruntfile.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. module.exports = function(grunt) {
  2. //初始化配置grunt任务
  3. grunt.initConfig({
  4. <<<<<<< .mine
  5. //pkg: grunt.file.readJSON('package.json'),
  6. //uglify: {
  7. // options: {
  8. // banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
  9. // },
  10. // build: {
  11. // src: 'src/<%= pkg.name %>.js',
  12. // dest: 'build/<%= pkg.name %>.min.js'
  13. // }
  14. //}
  15. =======
  16. concat: {//任务名称
  17. js: {
  18. src: ['global/js/cloud/curing.js','global/js/cloud/curingFN.js','global/js/cloud/curingHtml.js'],
  19. dest: 'global/js/cloud/curing.min.js'
  20. },
  21. // css: {
  22. // src: ['css/*.css'],
  23. // dest: 'build/all.css'
  24. // }
  25. }
  26. >>>>>>> .theirs
  27. });
  28. <<<<<<< .mine
  29. // 加载包含 "uglify" 任务的插件。
  30. //grunt.loadNpmTasks('grunt-contrib-uglify');
  31. =======
  32. grunt.loadNpmTasks('grunt-contrib-concat');
  33. >>>>>>> .theirs
  34. //注册grunt默认任务
  35. grunt.registerTask('default', []);
  36. };