A gulp plugin for compiling xTemplate templates.
# npm
$ npm install gulp gulp-xhtml --save-dev
# or yarn
$ yarn add gulp gulp-xhtml -D
demo.xtpl
<p>{{ message }}</p>
gulpfile.js
var xhtml = require('gulp-xhtml');
gulp.task('views', () => {
return gulp.src('views/*.xtpl')
.pipe(xhtml())
.pipe(gulp.dest('dist'))
});