Created
December 21, 2017 22:27
-
-
Save luixaviles/593ae0af85eba59367731385bd31cb2b to your computer and use it in GitHub Desktop.
This file contains 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"); | |
var ts = require("gulp-typescript"); | |
var tsProject = ts.createProject("tsconfig.json"); | |
gulp.task("build", function () { | |
return tsProject.src() | |
.pipe(tsProject()) | |
.js.pipe(gulp.dest("./dist")); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment