# gulp-webpack-multi-entry

> 基于gulp的webpack多入口文件

Latest version **1.0.5** (published 2018-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-webpack-multi-entry
pnpm add gulp-webpack-multi-entry
yarn add gulp-webpack-multi-entry
bun add gulp-webpack-multi-entry
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2018-03-15 |
| First published | 2017-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 9.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rodey Luo |
| Maintainers | rodey |

## Links

- npm: https://www.npmjs.com/package/gulp-webpack-multi-entry
- Repository: https://github.com/RodeyManager/gulp-webpack-multi-entry
- Homepage: https://github.com/RodeyManager/gulp-webpack-multi-entry.git#readme
- Issues: https://github.com/RodeyManager/gulp-webpack-multi-entry/issues
- npm.io page: https://npm.io/package/gulp-webpack-multi-entry

## Dependencies (6)

- [extend](https://npm.io/package/extend.md) ^3.0.1
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [webpack](https://npm.io/package/webpack.md) ^3.7.1
- [through2](https://npm.io/package/through2.md) ^2.0.3
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.8
- [memory-fs](https://npm.io/package/memory-fs.md) ^0.4.1

## Recent versions

- 1.0.5 (latest) — 2018-03-15
- 1.0.4 — 2018-03-07
- 1.0.3 — 2017-10-20
- 1.0.1 — 2017-10-19
- 1.0.0 — 2017-10-19

## README

# gulp-webpack-multi-entry

gulp plugin as webpack mulitple entry file, <a href="https://webpack.js.org">webpack</a>

## options

see <a href="https://webpack.js.org/configuration/">webpack configuration</a>

```javascript
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'));
});
```

```javascript
    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'));
    });
```

---
_Source: https://npm.io/package/gulp-webpack-multi-entry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
