gulp-htl
v0.1.2
Published
HTL gulp plugin
Downloads
34
Readme
HTL gulp plugin
Install
$ npm install --save-dev gulp
$ npm install --save-dev gulp-htl
For the example below you'll also need
$ npm install --save-dev gulp-rename
Usage
const gulp = require('gulp');
const rename = require('gulp-rename');
const htl = require('gulp-htl');
gulp.task('default', () =>
gulp.src(['src/**/*.html', '!src/**/*.spec.html'])
.pipe(htl())
.pipe(rename({extname:'.spec.html'}))
.pipe(gulp.dest('src'))
);
Thanks
Thanks to LatourJ for working out some of the quirks the HTL compiler in their project
License
MIT © Cerys Williams