加载中...

1.7.3 Transformer


gulp-weex

gulp plugin for weex transformer

Usage

var gulp = require('gulp') var weex = require('gulp-weex')

gulp.task('default', function () { return gulp.src('src/*.html')
    .pipe(weex({}))
    .pipe(gulp.dest('./dest'))
}) 

Options

oldFormat

whether transform to old format.

default: false.

isEntry

whether is an entry module which has bootstrap(...).

default: true.


还没有评论.