diff --git a/tasks/gulp-build.js b/tasks/gulp-build.js index a45b591d9e..8b0b752ca2 100644 --- a/tasks/gulp-build.js +++ b/tasks/gulp-build.js @@ -9,7 +9,7 @@ gulp.task('build', () => { } }); -gulp.task('build:dev', ['prepare:staticNewStuff'], (done) => { +gulp.task('build:dev', ['babel:common', 'prepare:staticNewStuff'], (done) => { gulp.start('grunt-build:dev', done); }); @@ -17,6 +17,6 @@ gulp.task('build:dev:watch', ['build:dev'], () => { gulp.watch(['website/public/**/*.styl', 'common/script/*']); }); -gulp.task('build:prod', ['prepare:staticNewStuff'], (done) => { +gulp.task('build:prod', ['babel:common', 'prepare:staticNewStuff'], (done) => { gulp.start('grunt-build:prod', done); });