Last active
October 6, 2015 17:33
-
-
Save aikoven/01a566ebb8ad4b23c6b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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