update target from ES3 to ES5

This commit is contained in:
2016-02-16 10:29:14 +01:00
parent b87de178c0
commit c9792b1955
5 changed files with 7 additions and 5 deletions

View File

@ -70,7 +70,8 @@ module NpmtsCompile {
var tsStream = plugins.gulp.src(plugins.path.join(paths.cwd,key))
.pipe(plugins.g.typescript({
out: outputName,
declaration: true
declaration: true,
target: "ES5"
}));
var stream = plugins.mergeStream([
tsStream.dts.pipe(plugins.gulp.dest(outputDir)),