Skip to content

Commit 41230ad

Browse files
author
Philipp Alferov
committed
Subdivide gulp build task
1 parent f6a93ab commit 41230ad

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

gulpfile.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,15 @@ gulp.task('deploy:docs', function() {
146146
});
147147

148148
gulp.task('build', function() {
149+
sequence('build:src');
150+
sequence('build:docs');
151+
});
152+
153+
gulp.task('build:src', function() {
149154
config.isProd = true;
150155
browserifyDefaults = config.browserify.fileSaver;
151156

152-
sequence(['browserify']);
157+
sequence('browserify', 'build:docs');
153158
});
154159

155160
gulp.task('build:docs', function() {
@@ -170,7 +175,6 @@ gulp.task('watch:docs', ['serve'], function() {
170175
gulp.watch(config.docs.styles, ['styles:docs']);
171176
});
172177

173-
174178
gulp.task('release:bump', function() {
175179

176180
return gulp.src('./*.json')

0 commit comments

Comments
 (0)