gulp-webpack-multi-entry
v1.0.5
Published
基于gulp的webpack多入口文件
Downloads
6
Readme
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'));
});