@poi/plugin-webpackmonitor
monitoring webpack optimization metrics
Last updated 2 years ago by egoist .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @poi/plugin-webpackmonitor 
SYNC missed versions from official npm registry.

plugin-webpackmonitor

Monitoring webpack optimization metrics.

preview

Install

yarn add @poi/plugin-webpackmonitor --dev

Usage

Activate it in config file poi.config.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
Default:

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

Options for webpack-monitor.

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

License

MIT © EGOIST

Current Tags

  • 10.0.1                                ...           latest (2 years ago)
  • 10.0.0-beta.10                                ...           next (2 years ago)

7 Versions

  • 10.0.1                                ...           2 years ago
  • 10.0.0                                ...           2 years ago
  • 10.0.0-rc.1                                ...           2 years ago
  • 10.0.0-rc.0                                ...           2 years ago
  • 10.0.0-beta.10                                ...           2 years ago
  • 10.0.0-beta.9                                ...           3 years ago
  • 10.0.0-beta.8                                ...           3 years ago
Downloads
Today 0
This Week 4
This Month 25
Last Day 0
Last Week 2
Last Month 22
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |