Skip to content

Instantly share code, notes, and snippets.

@aikoven
Last active October 6, 2015 17:33
Show Gist options
  • Save aikoven/01a566ebb8ad4b23c6b8 to your computer and use it in GitHub Desktop.
Save aikoven/01a566ebb8ad4b23c6b8 to your computer and use it in GitHub Desktop.
import gulp from 'gulp';
import ts from 'gulp-typescript';
import babel from 'gulp-babel';
gulp.task('build', () => {
return gulp.src(['typings/tsd.d.ts', 'src/**/*.ts'])
.pipe(ts({
target: 'ES6',
outDir: 'build'
}))
.pipe(babel())
.pipe(gulp.dest('build'))
;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment