Skip to content

Commit

Permalink
fix: build scripts gulp task bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed May 2, 2018
1 parent 92d819a commit b92c72b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions antd-tools/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,17 @@ function pub (done) {
gulp.task('dist', ['compile'], (done) => {
dist(done)
})
gulp.task('compile', ['compile-with-es'], () => {
gulp.task('compile', ['compile-with-es'], (done) => {
compile()
.on('finish', function () {
done()
})
})
gulp.task('compile-with-es', () => {
gulp.task('compile-with-es', (done) => {
compile(false)
.on('finish', function () {
done()
})
})

gulp.task('pub', ['check-git', 'compile'], (done) => {
Expand Down

0 comments on commit b92c72b

Please sign in to comment.