Skip to content

Commit 1fac501

Browse files
authored
Return the gulp streams
Based on fourkitchens#110
1 parent 5e0956e commit 1fac501

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = (gulp, config) => {
4141
* Script Task
4242
*/
4343
gulp.task('scripts', () => {
44-
gulp
44+
return gulp
4545
.src(config.paths.js)
4646
.pipe(sourcemaps.init())
4747
.pipe(
@@ -57,7 +57,7 @@ module.exports = (gulp, config) => {
5757
* Task for minifying images.
5858
*/
5959
gulp.task('imagemin', () => {
60-
gulp
60+
return gulp
6161
.src(config.paths.img)
6262
.pipe(
6363
imagemin([
@@ -76,7 +76,7 @@ module.exports = (gulp, config) => {
7676
* Task for generating icon colors/png fallbacks from svg.
7777
*/
7878
gulp.task('icons', () => {
79-
gulp
79+
return gulp
8080
.src('**/*.svg', { cwd: `${config.paths.icons}` })
8181
.pipe(svgSprite(config.iconConfig))
8282
.pipe(gulp.dest('.'));

0 commit comments

Comments
 (0)