Skip to content

Commit b2de0a6

Browse files
committed
go on
1 parent 31fd435 commit b2de0a6

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

gulp-tasks/cleanup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ module.exports = function(){
1818
echo('------ Cleanup done by O2! ------');
1919
};
2020

21-
module.exports.dependencies = ['replace'];
21+
module.exports.dependencies = ['replace', 'copy'];

gulp-tasks/rev/media.js gulp-tasks/copy.js

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ module.exports = function(){
99
.pipe(gulp.dest(dirs.assetsDir));
1010

1111
};
12+
module.exports.dependencies = ['imgmin'];

gulp-tasks/imgmin.js

-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ module.exports = function(){
2323
use:[pngquant()]
2424
}));
2525
};
26-
module.exports.dependencies = ['rev:media'];

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ require('gulp-task-loader')({
3333
});
3434

3535
gulp.task('rev', ['rev:replace']);
36-
gulp.task('default', ['rev', 'replace', 'imgmin', 'cleanup']);
36+
gulp.task('default', ['rev', 'replace', 'copy', 'cleanup']);

0 commit comments

Comments
 (0)