gt

gulp-tsb

gulp plugin for incremental TypeScript building

Showing:

Popularity

Downloads/wk

4.1K

GitHub Stars

50

Maintenance

Last Commit

4yrs ago

Contributors

16

Package

Dependencies

4

Size (min+gzip)

15.3KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

gulp-tsb

Build Status

Information

A gulp plugin for very fast TypeScript compilation. This plugin works by

  • keeping a compiler alive to improve speed (at the cost of memory)
  • always recompiling the smallest set of files possible

Usage


    var tsb = require('gulp-tsb');

    // create and keep compiler
    var compilation = tsb.create({
        target: 'es5',
        module: 'commonjs',
        declaration: false
    });

    gulp.task('build', function() {
        return gulp.src('src/**/*.ts')
            .pipe(compilation()) // <- new compilation
            .pipe(gulp.dest(''));
    });

Options

The options are the same as the standard TypeScript compiler option.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial