mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 09:45:56 +01:00
build fix
This commit is contained in:
parent
b707aa022e
commit
c2c89ae7c5
@ -75,7 +75,7 @@ gulp.task('css', function() {
|
|||||||
// }))
|
// }))
|
||||||
.pipe($.cssmin())
|
.pipe($.cssmin())
|
||||||
.pipe($.rename({suffix: '.min'}))
|
.pipe($.rename({suffix: '.min'}))
|
||||||
.pipe(header(banner, {pkg: pkg}))
|
.pipe($.header(banner, {pkg: pkg}))
|
||||||
.pipe(gulp.dest(dist + '/assets/css/'))
|
.pipe(gulp.dest(dist + '/assets/css/'))
|
||||||
.pipe($.connect.reload());
|
.pipe($.connect.reload());
|
||||||
});
|
});
|
||||||
@ -107,7 +107,7 @@ gulp.task('js-project', function() {
|
|||||||
])
|
])
|
||||||
.pipe($.uglify())
|
.pipe($.uglify())
|
||||||
.pipe($.concat('kremalicious3.min.js'))
|
.pipe($.concat('kremalicious3.min.js'))
|
||||||
.pipe(header(banner, {pkg: pkg}))
|
.pipe($.header(banner, {pkg: pkg}))
|
||||||
.pipe(gulp.dest(dist + '/assets/js/'))
|
.pipe(gulp.dest(dist + '/assets/js/'))
|
||||||
.pipe($.connect.reload());
|
.pipe($.connect.reload());
|
||||||
});
|
});
|
||||||
@ -236,7 +236,7 @@ gulp.task('build', function(cb) {
|
|||||||
['css', 'js', 'images', 'fonts', 'media'],
|
['css', 'js', 'images', 'fonts', 'media'],
|
||||||
'revision',
|
'revision',
|
||||||
'revision-replace',
|
'revision-replace',
|
||||||
//'imagemin',
|
'imagemin',
|
||||||
cb
|
cb
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user