diff --git a/.babelrc b/.babelrc deleted file mode 100644 index ce4265e..0000000 --- a/.babelrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "plugins": ["transform-es2015-modules-umd"], - "only": [ - "src/*.js", - "test/*.js", - ] -} diff --git a/gulpfile.js b/gulpfile.js index 52bebde..bf8c840 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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')));