gulpfile.js
/**
 * Bundles all source typescript files into the distribution folder.
 *
 * @return {NodeJS.ReadWriteStream} the gulp stream so that the task
 * will finish before moving to the next task.
 */
Bundles all source typescript files into the distribution folder.
@return {NodeJS.ReadWriteStream} the gulp stream so that the task
will finish before moving to the next task.
Bundles all source typescript files into the distribution folder . @return { NodeJS . ReadWriteStream } the gulp stream so that the task will finish before moving to the next task .
function bundle() {
  return browserify()
      .add('src/static/scripts/main.ts')
      .plugin(tsify)
      .bundle()
      .pipe(source('bundle.js'))
      .pipe(dest('dist/static/scripts'));
}
function bundle ( ) { return browserify ( ) . add ( 'src/static/scripts/main.ts' ) . plugin ( tsify ) . bundle ( ) . pipe ( source ( 'bundle.js' ) ) . pipe ( dest ( 'dist/static/scripts' ) ) ; }
Bundles all source typescript files into the distribution folder.
Bundles all source typescript files into the distribution folder .