1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- module.exports = function(grunt) {
- //初始化配置grunt任务
- grunt.initConfig({
- <<<<<<< .mine
- //pkg: grunt.file.readJSON('package.json'),
- //uglify: {
- // options: {
- // banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
- // },
- // build: {
- // src: 'src/<%= pkg.name %>.js',
- // dest: 'build/<%= pkg.name %>.min.js'
- // }
- //}
- =======
-
-
- concat: {//任务名称
- js: {
- src: ['global/js/cloud/curing.js','global/js/cloud/curingFN.js','global/js/cloud/curingHtml.js'],
- dest: 'global/js/cloud/curing.min.js'
- },
- // css: {
- // src: ['css/*.css'],
- // dest: 'build/all.css'
- // }
- }
- >>>>>>> .theirs
-
- });
- <<<<<<< .mine
- // 加载包含 "uglify" 任务的插件。
- //grunt.loadNpmTasks('grunt-contrib-uglify');
- =======
- grunt.loadNpmTasks('grunt-contrib-concat');
- >>>>>>> .theirs
- //注册grunt默认任务
- grunt.registerTask('default', []);
- };
|