wx-html-complier

complier html

Usage no npm install needed!

<script type="module">
  import wxHtmlComplier from 'https://cdn.skypack.dev/wx-html-complier';
</script>

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);
});