https://github.com/hcodes/gulp-jst_compiler
A JST plugin for Gulp
https://github.com/hcodes/gulp-jst_compiler
Last synced: 6 months ago
JSON representation
A JST plugin for Gulp
- Host: GitHub
- URL: https://github.com/hcodes/gulp-jst_compiler
- Owner: hcodes
- License: mit
- Created: 2014-05-11T10:27:20.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T22:48:59.000Z (over 10 years ago)
- Last Synced: 2025-06-01T02:56:00.555Z (11 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.org/package/gulp-jst_compiler
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gulp-jst_compiler
=================
A [JST compiler](https://github.com/hcodes/jst) plugin for Gulp
[](https://www.npmjs.com/package/gulp-jst_compiler)
[](https://travis-ci.org/hcodes/gulp-jst_compiler)
[](https://david-dm.org/hcodes/gulp-jst_compiler)
## Install
```
npm install gulp-jst_compiler --save-dev
```
## Usage
```javascript
var jst = require('gulp-jst_compiler');
gulp.task('jst', function () {
gulp.src('./templates/**/*.jst.html')
.pipe(jst('all.jst.js'))
.pipe(gulp.dest('./public/js'));
});
gulp.task('default', ['jst']);
```
## Options
```javascript
.pipe(jst('all.jst.js', {withoutKernel: true})) // compile without jst-kernel
```