aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorPaweł Kuna <1282324+codecalm@users.noreply.github.com>2020-10-08 21:14:05 +0200
committerGitHub <noreply@github.com>2020-10-08 21:14:05 +0200
commitfa480759bd45f06341dc8026f3fb0f981965200c (patch)
tree5617b40088a57a19c74b454d949bbba5d3b63c63 /gulpfile.js
parentRelease 1.33.0 (diff)
parent[dev-icons-react-bundling] change svgr template to enable babel transformatio... (diff)
downloadtabler-icons-fa480759bd45f06341dc8026f3fb0f981965200c.tar.xz
Merge pull request #82 from tabler/dev-icons-react-bundling
React icons bundling for different usage types
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'));