npm.io
0.2.3 • Published 8 years ago

gulp-weex

Licence
MIT
Version
0.2.3
Deps
5
Size
12 kB
Vulns
1
Weekly
0
Stars
4

gulp-weex

NPM version Build status Downloads

gulp plugin for weex transformer

Install

npm install gulp-weex

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

logLevel

specify log output level - NOTE (default, equivalent to ALL), WARNING, ERROR, OFF, aranging from low to high.

isEntry

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

default: true.

oldFormat

whether transform to old format.

default: false.