Created
July 28, 2015 21:38
-
-
Save lizlux/7ac6616fab7b5d092bca 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
var gulp = require('gulp'), | |
ts = require('gulp-typescript'), | |
options = { | |
target: 'ES6', | |
noImplicitAny: true, | |
removeComments: false, | |
declarationFiles: false, | |
sortOutput: true, | |
suppressImplicitAnyIndexErrors: true | |
}; | |
gulp.task('es6', function() { | |
var tsResult = gulp.src('front/scripts/main/**/*.ts') .pipe(ts(options)); | |
return tsResult.js.pipe(gulp.dest('App')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment