poi-plugin-webpackmonitor
Monitoring webpack optimization metrics.
Install
yarn add poi-plugin-webpackmonitor --dev
Usage
Activate it in config file poi.config.js
:
moduleexports = plugins: 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 // The cli flag --webpackmonitor launch: poiargvwebpackmonitor
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