# poi-plugin-webpackmonitor

> monitoring webpack optimization metrics

Latest version **10.0.0-alpha.0** (published 2018-02-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install poi-plugin-webpackmonitor
pnpm add poi-plugin-webpackmonitor
yarn add poi-plugin-webpackmonitor
bun add poi-plugin-webpackmonitor
```

## 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 | 10.0.0-alpha.0 |
| Published | 2018-02-08 |
| First published | 2018-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5167 |
| Author | EGOIST |
| Maintainers | rem |

## Links

- npm: https://www.npmjs.com/package/poi-plugin-webpackmonitor
- Repository: https://github.com/egoist/poi
- Homepage: https://github.com/egoist/poi#readme
- Issues: https://github.com/egoist/poi/issues
- npm.io page: https://npm.io/package/poi-plugin-webpackmonitor

## Dependencies (1)

- [webpack-monitor](https://npm.io/package/webpack-monitor.md) ^1.0.13

## Recent versions

- 10.0.0-alpha.0 (latest) — 2018-02-08

## README

# poi-plugin-webpackmonitor

Monitoring webpack optimization metrics.

<img src="https://i.loli.net/2017/10/18/59e70bd31a3cc.png" width="600" alt="preview">

## Install

```bash
yarn add poi-plugin-webpackmonitor --dev
```

## Usage

Activate it in config file `poi.config.js`:

```js
module.exports = {
  plugins: [
    require('poi-plugin-webpackmonitor')(options)
  ]
}
```

Each time you run `poi build` webpackmonitor will write stats to `.monitor/stats.json`, if you want to launch the dashboard in your browser, you can append `--webpackmonitor` flag to this command.

## Options

### pluginOptions

Type: `object`<br>
Default:

```js
{
  // Path to write stats file
  target: path.resolve('.monitor/stats.json'),
  // The cli flag --webpackmonitor
  launch: poi.argv.webpackmonitor
}
```

Options for [webpack-monitor](https://github.com/webpackmonitor/webpackmonitor).

> **Note:** You may add `.monitor` to `.gitignore` if you don't want to track it in your VCS.

## License

MIT &copy; [EGOIST](https://github.com/egoist)

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