README
wx-html-complier
Install
$ npm i --save-dev wx-html-complier
Usage
const gulp = require('gulp'),
util = require('gulp-util'),
htmlComplier= require('wx-html-complier');
gulp.task('html:complier', function() {
return gulp.src('src/pages/*.wxml')
.pipe(htmlComplier())
.pipe(gulp.dest('build/production'))
.on('error', util.log);
});