-
-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#### Issue description | ||
... | ||
|
||
#### Technical info | ||
* Webpack Bundle Analyzer version: | ||
* Webpack version: | ||
* Node.js version: | ||
* npm/yarn version: | ||
* OS: | ||
|
||
#### Debug info | ||
How do you use this module? As CLI utility or as plugin? | ||
|
||
If CLI, what command was used? (e.g. `webpack-bundle-analyzer -O path/to/stats.json`) | ||
|
||
If plugin, what options were provided? (e.g. `new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true })`) | ||
|
||
What other Webpack plugins were used? | ||
|
||
It would be nice to also attach webpack stats file. | ||
It can be generated using these options: | ||
```js | ||
new BundleAnalyzerPlugin({ | ||
analyzerMode: 'disabled', | ||
generateStatsFile: true, | ||
// Excludes module sources from stats file so there won't be any sensitive data | ||
statsOptions: { source: false } | ||
})` | ||
``` | ||
`stats.json` will be created in Webpack bundle output directory. |