Skip to content

Instantly share code, notes, and snippets.

@ghsyeung
Last active August 29, 2015 14:19
Show Gist options
  • Save ghsyeung/ec43976771e0186f894c to your computer and use it in GitHub Desktop.
Save ghsyeung/ec43976771e0186f894c to your computer and use it in GitHub Desktop.
Typescript hands on
gulp.src(sourceTsFiles)
.pipe(sourcemaps.init())
.pipe(tsc({
target: 'ES5',
declarationFiles: false,
noExternalResolve: true,
typescript: require('typescript') // Only required if you override the default typescript dependency
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment