# multi-entry-plugin

> set webpack multiple entry by single entry.

Latest version **0.0.3** (published 2019-06-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install multi-entry-plugin
pnpm add multi-entry-plugin
yarn add multi-entry-plugin
bun add multi-entry-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-06-03 |
| First published | 2019-05-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | ksora@live.com |
| Maintainers | ksora |
| Keywords | webapck, entry, plugin |

## Links

- npm: https://www.npmjs.com/package/multi-entry-plugin
- Repository: https://github.com/KSOra/multi-entry-plugin
- Homepage: https://github.com/KSOra/multi-entry-plugin#readme
- Issues: https://github.com/KSOra/multi-entry-plugin/issues
- npm.io page: https://npm.io/package/multi-entry-plugin

## Dependencies (4)

- [globby](https://npm.io/package/globby.md) ^9.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [webpack](https://npm.io/package/webpack.md) ^4.32.0
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-06-03
- 0.0.2 — 2019-05-27
- 0.0.1 — 2019-05-27

## README

# multi-entry-plugin
> set webpack multiple entry by single entry.

## Install
```
    npm i multi-entry-plugin --save-dev
```

## Example
src:
```
   ├── src                            
   |   ├── public                     
   |   |   ├── index.js        
   |   ├── page                      
   |   |   ├── index.js                  
   |   └── index.js                    
```

webpack.config.js:
```javascript
    import MultiEntryPlugin from 'multi-entry-plugin';

    const config = {
      entry: {
        'app': './src/index.js'
      },
      // ...
      plugins: [
            new MultiEntryPlugin({
              // plugin will depend the directory of 'mainEntry' to set multiple entry.
              mainEntry: 'app',
              exclude: ['util/**/*.js']
            })
        ]
    }
```

dist:
```
   ├── dist                            
   |   ├── public                     
   |   |   ├── index.js        
   |   ├── page                      
   |   |   ├── index.js                  
   |   └── index.js                    
```

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