aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index f7826fa1..da9f4aa0 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -650,4 +650,10 @@ gulp.task('update-icons-version', function (cb) {
cb();
});
-gulp.task('build', gulp.series('optimize', 'update-icons-version', 'build-jekyll', 'build-copy', 'icons-sprite', 'svg-to-react', 'icons-preview', 'svg-to-png', 'build-iconfont', 'changelog-image', 'build-zip'));
+gulp.task("build-react", function (cb) {
+ cp.exec("npm run build-react", function () {
+ cb();
+ });
+});
+
+gulp.task('build', gulp.series('optimize', 'update-icons-version', 'build-jekyll', 'build-copy', 'icons-sprite', 'svg-to-react', 'build-react', 'icons-preview', 'svg-to-png', 'build-iconfont', 'changelog-image', 'build-zip'));