gulp-tsb

A gulp plugin for very fast TypeScript compilation.

MIT 44 个版本
安装
npm install gulp-tsb
yarn add gulp-tsb
pnpm add gulp-tsb
bun add gulp-tsb
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.

版本列表
4.0.6 2021-03-01
4.0.5 2019-10-02
4.0.4 2019-09-13
4.0.3 2019-09-13
4.0.2 2019-09-10
4.0.1 2019-09-06
4.0.0 2019-09-06
2.0.7 2019-03-06
2.0.6 2019-02-06
2.0.5 2017-11-15
2.0.4 2017-07-12
2.0.3 2016-11-29
2.0.2 2016-11-07
2.0.1 2016-09-22
2.0.0-beta.1 2016-09-21
2.0.0 2016-09-21
1.10.4 2016-04-13
1.10.3 2016-03-30
1.10.2 2016-03-09
1.10.1 2016-02-03
1.10.0 2016-02-02
1.9.0 2016-01-20
1.8.4 2015-12-10
1.8.3 2015-12-08
1.8.2 2015-12-07
1.8.1 2015-12-07
1.8.0 2015-12-03
1.7.4 2015-10-23
1.7.3 2015-10-19
1.7.2 2015-10-19
1.7.1 2015-10-15
1.7.0 2015-10-14
1.6.2 2015-10-05
1.6.1 2015-09-24
1.6.0 2015-09-15
1.5.2 2015-09-11
1.5.1 2015-09-10
1.5.0 2015-09-09
1.4.5 2015-09-01
1.4.4 2015-05-06
1.4.3 2015-01-30
1.4.2 2014-12-23
1.4.1 2014-12-22
1.4.0 2014-12-22