gulp-jst-util

1.0.7 • Public • Published

gulp-jst-util

compile template of underscore file in to javascript

#useage:

	
	gulp.task('template', function() {
		return gulp.src('development/tpl/**/*.html')
			.pipe(jst({
				base: 'tpl'
			}).on('error', function() {
				console.log(arguments);
			}))
			.pipe(gulp.dest('development/scripts/view/'));
});

####options

  • base: releation folder name. template name split at '.' if specifition this option.

Package Sidebar

Install

npm i gulp-jst-util

Weekly Downloads

1

Version

1.0.7

License

ISC

Last publish

Collaborators

  • w1ls0n