Skip to content

Commit

Permalink
Merge pull request #8 from bedeoverend/move-babelrc
Browse files Browse the repository at this point in the history
Move babel config from .babelrc to gulp
  • Loading branch information
justinfagnani authored Sep 2, 2016
2 parents 5b66154 + 535df6e commit d34fe88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

8 changes: 7 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ gulp.task('default', ['src', 'test']);

gulp.task('src', () =>
gulp.src('src/mixwith.js')
.pipe(babel())
.pipe(babel({
'plugins': [ 'transform-es2015-modules-umd' ],
'only': [
'src/*.js',
'test/*.js',
]
}))
.pipe(gulp.dest('.'))
.pipe(gulp.dest('build')));

Expand Down

0 comments on commit d34fe88

Please sign in to comment.