BetterDiscordApp-v2/core/gulpfile.babel.js

21 lines
391 B
JavaScript
Raw Normal View History

2018-07-04 19:48:45 +02:00
import gulp from 'gulp';
import pump from 'pump';
import babel from 'gulp-babel';
import watch from 'gulp-watch';
gulp.task('build', function () {
return pump([
gulp.src('src/**/*.js'),
babel(),
gulp.dest('dist')
]);
});
gulp.task('watch', function () {
return pump([
watch('src/**/*.js'),
babel(),
gulp.dest('dist')
]);
});