Commit e4586b11eaa9e3555a89294a091ea1f09a590664
1 parent
b13b4f7d
添加合并js插件,修复本地gulp deploy报错
Showing
2 changed files
with
3 additions
and
1 deletions
gulp/tasks/concat.js
| 1 | 1 | // 合并JS文件 |
| 2 | 2 | var gulp = require('gulp'); |
| 3 | +var concat = require('gulp-concat'); | |
| 3 | 4 | var config = require('../config').concat; |
| 4 | 5 | var handleErrors = require('../util/handleErrors'); |
| 5 | 6 | |
| ... | ... | @@ -18,4 +19,4 @@ gulp.task('concat', function() { |
| 18 | 19 | // .pipe(sass()) |
| 19 | 20 | // .on('error', handleErrors) //交给notify处理错误 |
| 20 | 21 | // .pipe(gulp.dest(config.dest)) |
| 21 | -// }); | |
| 22 | 22 | \ No newline at end of file |
| 23 | +// }); | ... | ... |