fix: build scripts gulp task bug

pull/165/head 0.4.3
tangjinzhou 7 years ago
parent 92d819a044
commit b92c72b6c8

@ -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