gulp-browserify-multi-entry
基于gulp的browserify多入口文件
Last updated 3 years ago by rodey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-browserify-multi-entry 
SYNC missed versions from official npm registry.

gulp-browserify-multi-entry

gulp plugin as browserify mulitple entry file

options

see Browserify options


    const
        gulp = require('gulp'),
        gulpBrowserify = require('gulp-browserify-mulit-entry'),
        vueify = require('vueify'),
        babelify = require('babelify');

    gulp.src('./src/mobules/**/*.js')
            .pipe(gulpBrowserify({
                debug: false,
                // 排除 see browserify external method
                external: [],
                transform: [
                    vueify,
                    [
                        babelify, {
                        presets: [ 'es2015', 'stage-2'],
                        compact: true }
                    ]
                ]
            }))
            .pipe(gulp.dest('./build/bt'));

Current Tags

  • 1.0.3                                ...           latest (3 years ago)

4 Versions

  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (3)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |