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

gulp-webpack-multi-entry

gulp plugin as webpack mulitple entry file, webpack

options

see webpack configuration

const gulp = require('gulp'),
    gulpWebpack = require('./index'),
    webpackConfig = require('./webpack.config');

gulp.task('default', () => {
    gulp
        .src('./example/src/bt/**/*View.js')
        .pipe(gulpWebpack(webpackConfig))
        .pipe(gulp.dest('./example/build/bt'));
});
    const
        gulp          = require('gulp'),
        gulpWebpack   = require('./index'),
        webpackConfig = require('./webpack.config'),
        webpack       = require('webpack),
        extend        = require('extend');

    const config = extend(true, webpackConfig, { webpack });

    gulp.task('default', () =>{

        gulp.src('./example/src/bt/**/*View.js')
            .pipe(gulpWebpack(config))
            .pipe(gulp.dest('./example/build/bt'));
    });

Current Tags

  • 1.0.5                                ...           latest (2 years ago)

5 Versions

  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           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 1
Dependencies (6)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |