diff options
author | Paweł Kuna <1282324+codecalm@users.noreply.github.com> | 2020-10-08 21:14:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 21:14:05 +0200 |
commit | fa480759bd45f06341dc8026f3fb0f981965200c (patch) | |
tree | 5617b40088a57a19c74b454d949bbba5d3b63c63 /gulpfile.js | |
parent | Release 1.33.0 (diff) | |
parent | [dev-icons-react-bundling] change svgr template to enable babel transformatio... (diff) | |
download | tabler-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.js | 8 |
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')); |