1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-20 13:31:12 +02:00

gulpfile: fix task running out of order

This commit is contained in:
Kushagra Gour
2019-03-18 11:28:50 +05:30
parent 62f138be1c
commit 7a0e21a991

View File

@@ -107,7 +107,7 @@ gulp.task('useRef', function() {
});
gulp.task('concatSwRegistration', function() {
gulp
return gulp
.src(['src/service-worker-registration.js', 'app/script.js'])
.pipe(concat('script.js'))
.pipe(gulp.dest('app'));
@@ -118,7 +118,7 @@ gulp.task('minify', function() {
minifyJs('app/vendor.js');
minifyJs('app/lib/screenlog.js');
gulp
return gulp
.src('app/*.css')
.pipe(
cleanCSS(