Browse Source

fix: build scripts gulp task bug

pull/165/head 0.4.3
tangjinzhou 7 years ago
parent
commit
b92c72b6c8
  1. 10
      antd-tools/gulpfile.js

10
antd-tools/gulpfile.js

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