Skip to content

patrickguenther/tsbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsbuilder

gulp plugin to streamline my typescript building process

Example Usage

other options and their defaults are commented out.

gulpfile.js

var gulp = require("gulp");
var tsbuilder = require("tsbuilder");

gulp.task('default', function() {
	tsbuilder.getBundler({
		//logging: tsbuilder.createLogger('LOG'),
		//error: tsbuilder.createLogger('ERROR'),
		//outDir: 'dist',
		//baseDir: 'src',
		//watch: false,
		entry: 'src/index.ts' // required
	});
});

The above gulpfile will compile a javascript file 'dist/index.js' from its typescript source file 'src/index.ts'.

About

gulp plugin to streamline my typescript build process

Resources

License

Stars

Watchers

Forks

Packages

No packages published