gulp plugin for weex transformer
npm install gulp-weex
var gulp = require('gulp')
var weex = require('gulp-weex')
gulp.task('default', function () {
return gulp.src('src/*.html')
.pipe(weex({}))
.pipe(gulp.dest('./dest'))
})
specify log output level - NOTE
(default, equivalent to ALL
), WARNING
, ERROR
, OFF
, aranging from low to high.
whether is an entry module which has bootstrap(...)
.
default: true
.
whether transform to old format.
default: false
.