Skip to content

Commit

Permalink
修复部署时复制不全bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wteam-xq committed Sep 21, 2015
1 parent 25e86a4 commit 272a213
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ gulp.task('clean', function(cb){
cb();
});
// 2.拷贝 图标、字体、第三方已压缩文件;
gulp.task('copy', function(){
gulp.task('copy', function(cb){
copy('favicon.ico', 'dest/');
copy('components/*.css', 'dest/components/');
copy('fonts/*', 'dest/fonts/');
cb();
});
// 3.压缩 js 文件;(包括合并操作, 多个js文件压缩成一个文件)
gulp.task('uglifyjs', function(){
Expand Down

0 comments on commit 272a213

Please sign in to comment.