Skip to content

c3ry5/gulp-htl

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published