fix: build scripts gulp task bug

pull/22/head
tangjinzhou 7 years ago
parent fb5c66d007
commit fca425f720

@ -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) => {

Loading…
Cancel
Save