Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

weexteam/gulp-for-weex-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.