Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
Update gulp babel presets, remove babel-preset-es2015, update gulp-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachTRice committed Apr 5, 2018
1 parent 1521764 commit 278f630
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 59 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gulp.task('lib', function() {
gulp.src(['./src/scripts/**/*.js'])
.pipe(plumber())
.pipe(babel({
presets: ['react', 'es2015']
presets: ['react', 'env']
}))
.pipe(gulp.dest('lib'));
});
Expand All @@ -39,7 +39,7 @@ gulp.task('browser', function() {
transform: [
[
'babelify', {
'presets': [ 'react', 'es2015' ],
'presets': [ 'react', 'env' ],
'sourceMaps': true
}
]
Expand Down
Loading

0 comments on commit 278f630

Please sign in to comment.