Skip to content

Commit b92c72b

Browse files
committed
fix: build scripts gulp task bug
1 parent 92d819a commit b92c72b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

antd-tools/gulpfile.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,17 @@ function pub (done) {
238238
gulp.task('dist', ['compile'], (done) => {
239239
dist(done)
240240
})
241-
gulp.task('compile', ['compile-with-es'], () => {
241+
gulp.task('compile', ['compile-with-es'], (done) => {
242242
compile()
243+
.on('finish', function () {
244+
done()
245+
})
243246
})
244-
gulp.task('compile-with-es', () => {
247+
gulp.task('compile-with-es', (done) => {
245248
compile(false)
249+
.on('finish', function () {
250+
done()
251+
})
246252
})
247253

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

0 commit comments

Comments
 (0)