Skip to content

Commit

Permalink
Fix issue with outdated Babel presets
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth committed Aug 24, 2022
1 parent 8bd16d1 commit 00cd404
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ const gulpIf = require('gulp-if');

gulp.task('scripts', done => {
gulp.src('./lib/src/**/*.js')
.pipe(babel({
presets: ['es2015']
}))
.pipe(babel())
.pipe(gulp.dest('dist'));

gulp.src('./lib/src/**/*.json')
Expand Down

0 comments on commit 00cd404

Please sign in to comment.