Skip to content

Commit

Permalink
Create GitHub issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
th0r committed Nov 14, 2016
1 parent 15b62df commit 33f5332
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE.md
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.

0 comments on commit 33f5332

Please sign in to comment.