gulp-htl

0.1.2 • Public • Published

HTL gulp plugin

NPM

sonarcloud.io status

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

Readme

Keywords

Package Sidebar

Install

npm i gulp-htl

Weekly Downloads

19

Version

0.1.2

License

MIT

Unpacked Size

6.56 kB

Total Files

5

Last publish

Collaborators

  • cw5587