Skip to content

Commit 86e3618

Browse files
author
Philipp Alferov
committed
Prevent from dumping compiled source twice in dev mode
1 parent ce2f147 commit 86e3618

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

gulpfile.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,7 @@ function buildScript() {
107107
.pipe($.if(config.isProd, $.rename({
108108
suffix: '.min'
109109
})))
110-
.pipe($.size({
111-
title: browserifyDefaults.bundleName + ': '
112-
}))
113-
.pipe(gulp.dest(browserifyDefaults.dest))
110+
.pipe($.if(config.isProd, gulp.dest(browserifyDefaults.dest)))
114111
.pipe($.if(browserSync.active, browserSync.stream()));
115112
}
116113

0 commit comments

Comments
 (0)