poi-preset-bundle-report
v2.0.2
Published
This is a preset for adding [webpack-bundle-analyzer](https://github.com/th0r/webpack-bundle-analyzer) which could help you:
Downloads
31
Readme
poi-preset-bundle-report
This is a preset for adding webpack-bundle-analyzer which could help you:
- Realize what's really inside your bundle
- Find out what modules make up the most of it's size
- Find modules that got there by mistake
- Optimize it!
Install
yarn add poi-preset-bundle-report --devUsage
Activate it in config file:
// poi.config.js
module.exports = {
presets: [
require('poi-preset-bundle-report')()
]
}Add --bundle-report while building your app in production mode to get report:
poi build --bundle-report
# then you'll be automatically navigated to http://localhost:8888API
presetBundleReport
Parameters
pluginOptionsObject Options for webpack-bundle-analyzer plugin
LICENSE
MIT © EGOIST
