webpack-analyzer-plugin
v0.1.7
Published
webpack analyzer
Downloads
5
Readme
Install
npm i -D webpack-analyzer-plugin
Usage
const WebpackAnalyzerPlugin = require('webpack-analyzer-plugin')
module.exports = {
plugins: [new WebpackAnalyzerPlugin()]
}
Examples
- https://shuoshubao.github.io/webpack-analyzer
Options
| Name | Type | Default | Description | | -------- | ------ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | | filename | String | WebpackAnalyzer.html | Path to bundle report fileIt can be either an absolute path or a path relative to a bundle output directory (which is output.path in webpack config). |