Skip to content

Instantly share code, notes, and snippets.

@luixaviles
Created December 21, 2017 22:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save luixaviles/593ae0af85eba59367731385bd31cb2b to your computer and use it in GitHub Desktop.
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